summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-06-15 05:43:46 +0200
committerMikael Magnusson <mikachu@gmail.com>2015-06-17 01:45:18 +0200
commit54c2c442eeee46b28d5596e7e83812df01d1f13f (patch)
treee4c234f5c33420438371dc992bb9c00646436625 /Completion/Unix
parent9f3dc6605aa049e689f769dd2b4a864361c92b1d (diff)
downloadzsh-54c2c442eeee46b28d5596e7e83812df01d1f13f.tar.gz
zsh-54c2c442eeee46b28d5596e7e83812df01d1f13f.tar.xz
zsh-54c2c442eeee46b28d5596e7e83812df01d1f13f.zip
_gdb: Allow 'core' to occur anywhere in a coredump filename
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_gdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_gdb b/Completion/Unix/Command/_gdb
index f387c878a..e9c333925 100644
--- a/Completion/Unix/Command/_gdb
+++ b/Completion/Unix/Command/_gdb
@@ -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 '*(-*)'