From 54c2c442eeee46b28d5596e7e83812df01d1f13f Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 15 Jun 2015 05:43:46 +0200 Subject: _gdb: Allow 'core' to occur anywhere in a coredump filename --- Completion/Unix/Command/_gdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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 '*(-*)' -- cgit 1.4.1