1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-08 03:41:37 +02:00
zsh/Functions/Completion/_files
1999-04-15 18:16:27 +00:00

10 lines
238 B
Text

#autoload
# Utility function for completing files of a given type or any file.
# In many cases you will want to call this one instead of _path_files().
local nm=$NMATCHES
_path_files "$@"
[[ $# -ne 0 && -nmatches nm ]] && _path_files