about summary refs log tree commit diff
path: root/Completion/Unix/Type
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-12-20 00:49:26 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-12-20 00:49:26 +0900
commit972cf4197ef21aa1caa7a3fe721d5b2e8930da0d (patch)
tree7d953e89e7e5e86c4b798039bd8b407f7319f6b3 /Completion/Unix/Type
parentdae5d1d5ba8d1e3035d8bc299f221c54e8c90de6 (diff)
downloadzsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.gz
zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.xz
zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.zip
* 42143: fix a pattern in _object_files
Diffstat (limited to 'Completion/Unix/Type')
-rw-r--r--Completion/Unix/Type/_object_files3
1 files changed, 2 insertions, 1 deletions
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,)'