about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-04-25 11:07:14 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-04-25 11:07:14 -0700
commitfd574101a92d1df3e0aa7f91fb3feb4c6f3d0863 (patch)
tree7a4035c1f53df4094d0eeef1f3cd6437f89b50db
parent54fe61ab32435081d9f08510e3fa4375f55fbe81 (diff)
downloadzsh-fd574101a92d1df3e0aa7f91fb3feb4c6f3d0863.tar.gz
zsh-fd574101a92d1df3e0aa7f91fb3feb4c6f3d0863.tar.xz
zsh-fd574101a92d1df3e0aa7f91fb3feb4c6f3d0863.zip
34961: avoid _message because it aborts completer list too early
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_mkdir2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b518a33a6..91a4952cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-04-25  Barton E. Schaefer  <schaefer@zsh.org>
 
+	* 34961: Completion/Unix/Command/_mkdir: avoid _message because
+	it aborts completer list too early
+
 	* 34961: Completion/Base/Completer/_history: unquote history words
 	when command line has a quote
 
diff --git a/Completion/Unix/Command/_mkdir b/Completion/Unix/Command/_mkdir
index b5f75198f..58d6c743b 100644
--- a/Completion/Unix/Command/_mkdir
+++ b/Completion/Unix/Command/_mkdir
@@ -61,7 +61,7 @@ case "$state" in
       [[ $variant == zsh && ${#${${words[2,-1]}:#-*}} -gt 0 ]]; then
       _wanted directories expl \
         'parent directory (alternatively specify name of directory)' \
-        _path_files -/ && ret=0 || _message 'name of directory'
+        _path_files -/ && ret=0
     fi
     ;;
 esac