about summary refs log tree commit diff
path: root/Completion/Builtins/_unhash
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-28 08:13:52 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-28 08:13:52 +0000
commit8066c8066520d734d22ab17992bd3787777d4130 (patch)
tree22da787359877e31a8a9959c30e69c7e1176a2e1 /Completion/Builtins/_unhash
parentb63dfb564eb8d48a8909998d39541c3afe9ae0e2 (diff)
downloadzsh-8066c8066520d734d22ab17992bd3787777d4130.tar.gz
zsh-8066c8066520d734d22ab17992bd3787777d4130.tar.xz
zsh-8066c8066520d734d22ab17992bd3787777d4130.zip
zsh-workers/8471
Diffstat (limited to 'Completion/Builtins/_unhash')
-rw-r--r--Completion/Builtins/_unhash4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_unhash b/Completion/Builtins/_unhash
index dfebd5399..1209f68af 100644
--- a/Completion/Builtins/_unhash
+++ b/Completion/Builtins/_unhash
@@ -8,11 +8,11 @@ if [[ "$fl" = -*d* ]]; then
 fi
 if [[ "$fl" = -*a* ]]; then
   _description expl alias
-  compadd "$expl[@]" - "${(@k)aliases}" && ret=0
+  compadd "$expl[@]" - "${(@k)aliases}" "${(@k)disaliases}" && ret=0
 fi
 if [[ "$fl" = -*f* ]]; then
   _description expl 'shell function'
-  compadd "$expl[@]" - "${(@k)functions}" && ret=0
+  compadd "$expl[@]" - "${(@k)functions}" "${(@k)disfunctions}" && ret=0
 fi
 if [[ "$fl" != -* ]]; then
   _command_names -e && ret=0