diff options
Diffstat (limited to 'Completion/Builtins/_aliases')
-rw-r--r-- | Completion/Builtins/_aliases | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Completion/Builtins/_aliases b/Completion/Builtins/_aliases index 8764f7f66..a097d020e 100644 --- a/Completion/Builtins/_aliases +++ b/Completion/Builtins/_aliases @@ -2,7 +2,6 @@ local expl -_description expl 'regular alias' -compadd "$expl[@]" - "${(@k)aliases}" -_description expl 'global alias' -compadd "$expl[@]" - "${(@k)galiases}" +_alternative any:argument \ + 'aliases:regular alias:compadd - ${(@k)aliases}' \ + 'global-aliases:global alias:compadd - ${(@k)galiases}' |