summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_object_files3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 60bbcf640..30058dce3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-20 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+ * 42143: Completion/Unix/Type/_object_files: fix a pattern for
+ matching object files
+
2017-12-18 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 42412: Src/Zle/zle_word.c: fix a bug in 42116. Also fix a few
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,)'