Completion: improves the completion of encrypt and decrypt functions

master
Jonathan Hodgson 2 years ago
parent fa8fc5787d
commit a4b749ded5
  1. 4
      shells/zsh/includes/completion.zsh

@ -20,6 +20,10 @@ zstyle ':completion:*' format ' %F{yellow}-- %d --%f'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' verbose yes
# Improve tab completion for encrypt and decrypt funcitons
zstyle ':completion:*:decrypt:*' file-patterns '*.(pgp|gpg)'
zstyle ':completion:*:encrypt:*' ignored-patterns '*.(pgp|gpg)'
export LISTMAX=-1
zmodload zsh/complist

Loading…
Cancel
Save