summaryrefslogtreecommitdiff
path: root/.zsh_pass
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_pass')
-rw-r--r--.zsh_pass13
1 files changed, 10 insertions, 3 deletions
diff --git a/.zsh_pass b/.zsh_pass
index 5825daf..4a7e5de 100644
--- a/.zsh_pass
+++ b/.zsh_pass
@@ -1,7 +1,14 @@
+PERSONAL_PASSWORD_STORE_DIR=$HOME/LocalData/henksfiles/password-store
compdef _pass mypass
-
-zstyle ':completion::complete:mypass::' prefix "$HOME/Data/henksfiles/password-store"
+zstyle ':completion::complete:mypass::' prefix "$HOME/LocalData/henksfiles/password-store"
mypass() {
- PASSWORD_STORE_DIR=$HOME/Data/henksfiles/password-store pass $@
+ PASSWORD_STORE_DIR=$HOME/LocalData/henksfiles/password-store pass $@
+}
+
+OLD_PASSWORD_STORE_DIR="$HOME/LocalData/securosys/secure/old_phrases"
+compdef _pass oldpass
+zstyle ':completion::complete:oldpass::' prefix "$OLD_PASSWORD_STORE_DIR"
+oldpass() {
+ PASSWORD_STORE_DIR=$OLD_PASSWORD_STORE_DIR pass $@
}