1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-10 23:10:55 +01:00
zsh/Completion/Base/_command_names
1999-04-15 18:25:40 +00:00

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