1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

34961: avoid _message because it aborts completer list too early

This commit is contained in:
Barton E. Schaefer 2015-04-25 11:07:14 -07:00
parent 54fe61ab32
commit fd574101a9
2 changed files with 4 additions and 1 deletions

View file

@ -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