From 3272bdce987a3e5d5448688529ccb8290e148a67 Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Fri, 11 Dec 2015 11:51:09 +0100 Subject: 37383: add completion type for object files --- Completion/Unix/Command/_nm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Completion/Unix/Command/_nm') 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]' -- cgit 1.4.1