mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-10 23:10:55 +01:00
11 lines
166 B
Text
11 lines
166 B
Text
#compdef -command-
|
|
|
|
local nm=$compstate[nmatches] ret=1
|
|
|
|
compgen -c && ret=0
|
|
|
|
if [[ nm -eq compstate[nmatches] ]]; then
|
|
_path_files -/g "*(*)"
|
|
else
|
|
return ret
|
|
fi
|