diff options
author | Matthew Martin <phy1729@gmail.com> | 2015-12-11 11:51:09 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2015-12-11 11:51:09 +0100 |
commit | 3272bdce987a3e5d5448688529ccb8290e148a67 (patch) | |
tree | da522e52027805c1f709c75e84633e89676c9cb4 /Completion/Unix/Command/_nm | |
parent | e5dddecc159e7a7e54da3292c132662e1398eeac (diff) | |
download | zsh-3272bdce987a3e5d5448688529ccb8290e148a67.tar.gz zsh-3272bdce987a3e5d5448688529ccb8290e148a67.tar.xz zsh-3272bdce987a3e5d5448688529ccb8290e148a67.zip |
37383: add completion type for object files
Diffstat (limited to 'Completion/Unix/Command/_nm')
-rw-r--r-- | Completion/Unix/Command/_nm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_nm b/Completion/Unix/Command/_nm index d171ef5a3..73d7508b4 100644 --- a/Completion/Unix/Command/_nm +++ b/Completion/Unix/Command/_nm @@ -2,11 +2,7 @@ local args files variant -_nm_object_file() { - [[ -x $REPLY || $REPLY = *.([ao]|so|elf) ]] -} - -files="*:object file:_files -g '*(-.e,_nm_object_file,)'" +files="*:object file:_object_files" args=( '(-A -o --print-file-name)'{-A,-o,--print-file-name}'[print name of input file on each line]' '(--demangle)-C[decode symbol names]' |