[zsh] Work around broken gopass autocompletion

This commit is contained in:
Sebastian Schulze 2018-08-10 22:39:01 +02:00
parent d71fe4246c
commit 3d9de65fc6
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 5 additions and 0 deletions

View File

@ -45,3 +45,8 @@ letterup() { take $1 && cp -a ~/Documents/Personal/Brief-Vorlage/2017-LaTeX/* .;
[ "$TERM" = "xterm-termite" ] && export TERM=xterm-256color
zplug load
# Work around a broken autocompletion https://github.com/gopasspw/gopass/issues/585
source <(gopass completion zsh | head -n -1 | tail -n +2)
compdef _gopass gopass