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/_objdump | |
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/_objdump')
-rw-r--r-- | Completion/Unix/Command/_objdump | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_objdump b/Completion/Unix/Command/_objdump index 607719a19..cc213d911 100644 --- a/Completion/Unix/Command/_objdump +++ b/Completion/Unix/Command/_objdump @@ -1,8 +1,3 @@ #compdef objdump -# borrowed from _nm_object_file -_objdump_object_file() { - [[ -x $REPLY || $REPLY = *.([ao]|so|elf) ]] -} - -_arguments -- '*:object file:_files -g "*(-.e,_objdump_object_file,)"' +_arguments -- '*:object file:_object_files' |