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/_elfdump | |
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/_elfdump')
-rw-r--r-- | Completion/Unix/Command/_elfdump | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/Unix/Command/_elfdump b/Completion/Unix/Command/_elfdump index ee92402d2..065f4b97f 100644 --- a/Completion/Unix/Command/_elfdump +++ b/Completion/Unix/Command/_elfdump @@ -2,10 +2,6 @@ local -a args -_elf_file() { - [[ -x $REPLY || $REPLY = (core*|*.([ao]|so|elf)) ]] -} - args=( '-c[dump section header information]' '-d[dump .dynamic section]' @@ -38,7 +34,7 @@ case $OSTYPE in '-l[show long section names without truncation]' '-O[specify osabi to apply]:osabi' '-P[use alternative section header]' - "*:elf file:_files -g '*(-.e:_elf_file:)'" + "*:elf file:_object_files" ) ;; freebsd*) args+=( '-a[dump all information]' ) ;; |