summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_object_files2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index adea4a078..40d9d5602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-05  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+	* dana: 42222: Completion/Unix/Type/_object_files: recognize
+	.dylib extension (macOS).
+
 2018-01-04  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* dana: 42164: Src/Zle/complist.c, Test/Y01completion.ztst:
diff --git a/Completion/Unix/Type/_object_files b/Completion/Unix/Type/_object_files
index 70b5b6688..595265116 100644
--- a/Completion/Unix/Type/_object_files
+++ b/Completion/Unix/Type/_object_files
@@ -5,7 +5,7 @@ local expl
 _description files expl 'object file'
 
 __object_file() {
-  [[ -x $REPLY || $REPLY = *.(a|o|elf) || $REPLY = *.so(.<->)# ||
+  [[ -x $REPLY || $REPLY = *.(a|o|elf|dylib) || $REPLY = *.so(.<->)# ||
 	$REPLY = (core*|*.core) ]]
 }