From b28849617fb61e87a40a0e06ed94e0cd3c87bb5e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 20 Dec 2016 20:58:24 +0100 Subject: extensions: make opt-in --- man/pass.1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/pass.1 b/man/pass.1 index 27320d5..31f987d 100644 --- a/man/pass.1 +++ b/man/pass.1 @@ -30,10 +30,10 @@ If no COMMAND is specified, COMMAND defaults to either .B show or .BR ls , -depending on the type of specifier in ARGS. Alternatively, if the file -\fI.extensions/COMMAND.bash\fP exists inside the password store and is executable -, then it is sourced into the environment, passing any arguments and environment -variables. +depending on the type of specifier in ARGS. Alternatively, if \fIPASSWORD_STORE_ENABLE_EXTENSIONS\fP +is set to "true", and the file \fI.extensions/COMMAND.bash\fP exists inside the +password store and is executable, then it is sourced into the environment, +passing any arguments and environment variables. Otherwise COMMAND must be one of the valid commands listed below. @@ -441,7 +441,10 @@ by \fBtr\fP. See .BR tr (1) for more info. .TP -.I PASSWORD_STORE_EXTENSION_DIR +.I PASSWORD_STORE_ENABLE_EXTENSIONS +This environment variable must be set to "true" for extensions to be enabled. +.TP +.I PASSWORD_STORE_EXTENSIONS_DIR The location to look for executable extension files, by default \fIPASSWORD_STORE_DIR/.extensions\fP. .TP -- cgit v1.2.3