Make pass a bit more userproof
This commit is contained in:
parent
61ea980c4b
commit
9dd48160e8
1 changed files with 3 additions and 5 deletions
|
|
@ -39,11 +39,9 @@ cd() {
|
||||||
# Almanack utilities
|
# Almanack utilities
|
||||||
|
|
||||||
a-pass() {
|
a-pass() {
|
||||||
PASSWORD_STORE_DIR=$ALMANACK_ROOT/secrets/ pass $*
|
PASSWORD_STORE_DIR=$ALMANACK_ROOT/secrets/ env pass $*
|
||||||
}
|
}
|
||||||
|
|
||||||
a-deactivate() {
|
pass() {
|
||||||
deactivate
|
echo "You probably mean a-pass. If you mean pass, type env pass (This is to stop password stores getting mixed up)"
|
||||||
unset -f cd
|
|
||||||
unset ALMANACK_ROOT
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue