summaryrefslogtreecommitdiff
path: root/.zsh_pass
diff options
context:
space:
mode:
authorHendrik Jäger <hendrik@securosys.ch>2017-10-06 15:33:50 +0200
committerHendrik Jäger <hendrik@securosys.ch>2018-03-06 15:02:57 +0100
commit16a02594b071a14f11d157f30faa72801e32349e (patch)
tree561106b37ee7af8a959fab26e475cf50883f4a33 /.zsh_pass
parentb69dba2f6584554ea09b8a48033b3c683ff703df (diff)
Add personal password store
Diffstat (limited to '.zsh_pass')
-rw-r--r--.zsh_pass7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zsh_pass b/.zsh_pass
new file mode 100644
index 0000000..5825daf
--- /dev/null
+++ b/.zsh_pass
@@ -0,0 +1,7 @@
+compdef _pass mypass
+
+zstyle ':completion::complete:mypass::' prefix "$HOME/Data/henksfiles/password-store"
+mypass() {
+ PASSWORD_STORE_DIR=$HOME/Data/henksfiles/password-store pass $@
+}
+