about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-06-11 22:28:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-06-11 22:28:21 +0000
commit92233c8029831f30f2b17557e76f82f3e3723089 (patch)
tree4b258c40e7e102a1793005fa0dbb9943eb81cae4 /Completion/Zsh
parent64d431d98b022d186aa088a295d723b2ec727b84 (diff)
downloadzsh-92233c8029831f30f2b17557e76f82f3e3723089.tar.gz
zsh-92233c8029831f30f2b17557e76f82f3e3723089.tar.xz
zsh-92233c8029831f30f2b17557e76f82f3e3723089.zip
28026: use "zsh_directory_name c" for completion of dynamic directory names
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Context/_dynamic_directory_name10
1 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Zsh/Context/_dynamic_directory_name b/Completion/Zsh/Context/_dynamic_directory_name
index 85f8ff2ee..5f7fe9a90 100644
--- a/Completion/Zsh/Context/_dynamic_directory_name
+++ b/Completion/Zsh/Context/_dynamic_directory_name
@@ -1,7 +1,7 @@
 #autoload
 
-# The core libraries don't check for dynamic directory name expansion;
-# this gets called from _subscript.  This is a placeholder for
-# people to overload.
-
-_message 'dynamic directory name: redefine _dynamic_directory_name to use'
+if [[ -n $functions[zsh_directory_name] ]]; then
+  zsh_directory_name c
+else
+  _message 'dynamic directory name: implemented as zsh_directory_name c'
+fi