diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-20 20:58:24 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-21 06:02:14 +0100 |
commit | b28849617fb61e87a40a0e06ed94e0cd3c87bb5e (patch) | |
tree | e887f68b272310279a2f56e08814d2510f32c26f /man | |
parent | ff62f87f41557ab7267defab662324927301485a (diff) |
extensions: make opt-in
Diffstat (limited to 'man')
-rw-r--r-- | man/pass.1 | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |