From c8e2f3c3d8792a4cf91de04d08c0d92e436da237 Mon Sep 17 00:00:00 2001 From: dana Date: Fri, 5 Jan 2018 10:06:50 +0900 Subject: 42222: _object_files: recognize .dylib (macOS) --- ChangeLog | 5 +++++ Completion/Unix/Type/_object_files | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index adea4a078..40d9d5602 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-01-05 Jun-ichi Takimoto + + * dana: 42222: Completion/Unix/Type/_object_files: recognize + .dylib extension (macOS). + 2018-01-04 Peter Stephenson * 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) ]] } -- cgit v1.2.3-70-g09d2