From 972cf4197ef21aa1caa7a3fe721d5b2e8930da0d Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Wed, 20 Dec 2017 00:49:26 +0900 Subject: * 42143: fix a pattern in _object_files --- Completion/Unix/Type/_object_files | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion/Unix') diff --git a/Completion/Unix/Type/_object_files b/Completion/Unix/Type/_object_files index 31a13aefc..70b5b6688 100644 --- a/Completion/Unix/Type/_object_files +++ b/Completion/Unix/Type/_object_files @@ -5,7 +5,8 @@ local expl _description files expl 'object file' __object_file() { - [[ -x $REPLY || $REPLY = *.([ao]|so|elf)(.<->)## || $REPLY = (core*|*.core) ]] + [[ -x $REPLY || $REPLY = *.(a|o|elf) || $REPLY = *.so(.<->)# || + $REPLY = (core*|*.core) ]] } _files -g '*(-.e,__object_file,)' -- cgit v1.2.3