about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-03-06 11:36:02 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-03-06 11:36:02 +0000
commite43a5fc8ea0725501c6d743df4432cd8879d943b (patch)
tree24583436b3b3ecd09d4955c8dd08d0a62907156c /Completion/Zsh
parent4065dd5258d64f2f450a73c80cf2a394d56251da (diff)
downloadzsh-e43a5fc8ea0725501c6d743df4432cd8879d943b.tar.gz
zsh-e43a5fc8ea0725501c6d743df4432cd8879d943b.tar.xz
zsh-e43a5fc8ea0725501c6d743df4432cd8879d943b.zip
users/1097: rehash style for external commands
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Type/_command_names2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Zsh/Type/_command_names b/Completion/Zsh/Type/_command_names
index f2b51713c..85ca3b912 100644
--- a/Completion/Zsh/Type/_command_names
+++ b/Completion/Zsh/Type/_command_names
@@ -6,6 +6,8 @@
 
 local args defs
 
+zstyle -t ":completion:${curcontext}:commands" rehash && rehash
+
 defs=(
   'commands:external command:compadd -k commands'
 )