mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
* 42143: fix a pattern in _object_files
This commit is contained in:
parent
dae5d1d5ba
commit
972cf4197e
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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,)'
|
||||
|
|
Loading…
Reference in a new issue