mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-20 06:56:05 +02:00
_gdb: Allow 'core' to occur anywhere in a coredump filename
This commit is contained in:
parent
9f3dc6605a
commit
54c2c442ee
|
@ -1,3 +1,8 @@
|
|||
2015-06-17 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 35477: Completion/Unix/Command/_gdb: _gdb: Allow 'core' to
|
||||
occur anywhere in a coredump filename
|
||||
|
||||
2015-06-14 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 35469: Functions/Zle/smart-insert-last-word: test UNDO_CHANGE_NO
|
||||
|
|
|
@ -49,7 +49,7 @@ else
|
|||
done
|
||||
|
||||
if [[ $#w -gt 1 ]]; then
|
||||
_alternative "files:: _files -g '*core(-.)'" "processes:: _pids -m ${w[1]:t}"
|
||||
_alternative "files:: _files -g '*core*(-.)'" "processes:: _pids -m ${w[1]:t}"
|
||||
else
|
||||
_description files expl executable
|
||||
_files "$expl[@]" -g '*(-*)'
|
||||
|
|
Loading…
Reference in New Issue