You are not logged in.
https://wiki.archlinux.org/title/Pass#M … ._teaming)
allows bash completion for different pass contexts
is there a way to achieve the same completion for zsh? If so, how?
Last edited by weltio (2025-01-31 10:41:42)
Offline
According to the zsh completion for pass in /usr/share/zsh/site-functions/_pass
# If you use multiple repositories, you can configure completion like this:
compdef _pass workpass
zstyle ':completion::complete:workpass::' prefix "$HOME/work/pass"
workpass() {
PASSWORD_STORE_DIR=$HOME/work/pass pass $@
}Offline
You, Sir (or Mam), are da real MVP
Thank you
I took the freedom to add that to the wiki article
Last edited by weltio (2025-01-31 10:49:12)
Offline