diff options
Diffstat (limited to 'Completion/User/_hosts')
-rw-r--r-- | Completion/User/_hosts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_hosts b/Completion/User/_hosts index 2ea5169cb..9f5a39cca 100644 --- a/Completion/User/_hosts +++ b/Completion/User/_hosts @@ -5,4 +5,4 @@ local expl : ${(A)hosts:=${(s: :)${(ps:\t:)${${(f)"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} _description expl host -compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' "$@" "$expl[@]" - "${hosts[@]%:*}" +compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' "$@" "$expl[@]" - "$hosts[@]" |