An easy way to change Pass' contexts.
To change contexts, one must use environment variables, at least
PASSWORD_STORE_DIR
. However, there cases in which they are not available, for
example applications that can launch others, but without a shell (e. g.,
Borgmatic).
Albeit the main reason, this extension came also to be to facilitate the use of different contexts, since today they are usually managed by shell aliases.
- Pass
- Shunit2;
- Shellcheck; and
- Shfmt.
After downloading the repo, cd into it and run, for the global install:
# make install
Or, for the local one:
$ make PREFIX= EXTENSION_DIR="${PASSWORD_STORE_EXTENSIONS_DIR}"