diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2017-12-20 00:49:26 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2017-12-20 00:49:26 +0900 |
| commit | 972cf4197ef21aa1caa7a3fe721d5b2e8930da0d (patch) | |
| tree | 7d953e89e7e5e86c4b798039bd8b407f7319f6b3 /Completion | |
| parent | 42412: fix a bug in 42116 (diff) | |
| download | zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.gz zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.bz2 zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.lz zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.xz zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.tar.zst zsh-972cf4197ef21aa1caa7a3fe721d5b2e8930da0d.zip | |
* 42143: fix a pattern in _object_files
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Unix/Type/_object_files | 3 |
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,)' |
