diff options
Diffstat (limited to 'Completion/Builtins/_unhash')
-rw-r--r-- | Completion/Builtins/_unhash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Builtins/_unhash b/Completion/Builtins/_unhash index 1209f68af..a23fd9025 100644 --- a/Completion/Builtins/_unhash +++ b/Completion/Builtins/_unhash @@ -8,11 +8,12 @@ if [[ "$fl" = -*d* ]]; then fi if [[ "$fl" = -*a* ]]; then _description expl alias - compadd "$expl[@]" - "${(@k)aliases}" "${(@k)disaliases}" && ret=0 + compadd "$expl[@]" - "${(@k)aliases}" "${(@k)dis_aliases}" \ + "${(@k)galiases}" "${(@k)dis_galiases}" && ret=0 fi if [[ "$fl" = -*f* ]]; then _description expl 'shell function' - compadd "$expl[@]" - "${(@k)functions}" "${(@k)disfunctions}" && ret=0 + compadd "$expl[@]" - "${(@k)functions}" "${(@k)dis_functions}" && ret=0 fi if [[ "$fl" != -* ]]; then _command_names -e && ret=0 |