diff options
| -rw-r--r-- | contrib/autocomplete.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/autocomplete.zsh b/contrib/autocomplete.zsh index 67eebc5..776a9c7 100644 --- a/contrib/autocomplete.zsh +++ b/contrib/autocomplete.zsh | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | #compdef angou | 1 | #compdef angou |
| 2 | 2 | ||
| 3 | _files() { | 3 | passwords() { |
| 4 | files=("${(f)$(find ${ANGOU_DIR:-$HOME/.angou} -type f -printf '%P\n' | sort)}") | 4 | files=("${(f)$(find ${ANGOU_DIR:-$HOME/.angou} -type f -printf '%P\n' | sort)}") |
| 5 | _multi_parts / files | 5 | _multi_parts / files |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | _arguments \ | 8 | _arguments \ |
| 9 | '1:angou commands:(copy edit generate help pass view)' \ | 9 | '1:angou commands:(copy edit generate help pass view)' \ |
| 10 | '2:passwords:_files' | 10 | '2:passwords:passwords' |
