diff options
-rw-r--r-- | Completion/Builtins/_unhash | 2 | ||||
-rw-r--r-- | Completion/User/_mutt | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Completion/Builtins/_unhash b/Completion/Builtins/_unhash index 7a0d0c25a..51fef064a 100644 --- a/Completion/Builtins/_unhash +++ b/Completion/Builtins/_unhash @@ -8,7 +8,7 @@ args=() [[ "$fl" = -*a* ]] && args=( "$args[@]" 'aliases:alias:compadd - ${(@k)aliases} ${(@k)galiases} ${(@k)dis-aliases} ${(@k)dis-galiases}' ) -[[ "$fl != -* ]] && +[[ "$fl" != -* ]] && args=( 'commands:: _command_names -e' ) _alternative "$args[@]" diff --git a/Completion/User/_mutt b/Completion/User/_mutt index c2af49107..dfb50ae3a 100644 --- a/Completion/User/_mutt +++ b/Completion/User/_mutt @@ -33,8 +33,7 @@ if [[ "$state" = userhost ]]; then else _description users expl 'login name' _users "$expl[@]" -q -S@ && return 0 - fi - fi + fi fi return ret |