1
0
Fork 0
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:
Mikael Magnusson 2015-06-15 05:43:46 +02:00
parent 9f3dc6605a
commit 54c2c442ee
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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 '*(-*)'