summary refs log tree commit diff
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-01-05 10:06:50 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-01-05 10:06:50 +0900
commitc8e2f3c3d8792a4cf91de04d08c0d92e436da237 (patch)
treeba946d8a497e53992e537520a820009d55242ec7
parent1af28cbfd740c719a9338c8c9d6b7f55bb3ab13a (diff)
downloadzsh-c8e2f3c3d8792a4cf91de04d08c0d92e436da237.tar.gz
zsh-c8e2f3c3d8792a4cf91de04d08c0d92e436da237.tar.xz
zsh-c8e2f3c3d8792a4cf91de04d08c0d92e436da237.zip
42222: _object_files: recognize .dylib (macOS)
-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) ]]
 }