* Fixed bugs with gdb completion:
- when a non-existing directory is in $PATH (Closes: #499780)
This commit is contained in:
parent
946834a57b
commit
bcaf3b4091
@ -4097,7 +4097,7 @@ _gdb()
|
||||
local path_array=( $(echo "$PATH" | sed 's/::\+/:/g;s/^:\|:$//g') )
|
||||
IFS=$'\n'
|
||||
COMPREPLY=( $( compgen -d -W '$(find "${path_array[@]}" . \
|
||||
-mindepth 1 -maxdepth 1 -not -type d -executable -printf "%f\\n")' \
|
||||
-mindepth 1 -maxdepth 1 -not -type d -executable -printf "%f\\n" 2>/dev/null)' \
|
||||
-- "$cur" ) )
|
||||
fi
|
||||
elif [ $COMP_CWORD -eq 2 ]; then
|
||||
|
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -15,15 +15,17 @@ bash-completion (200809xx) UNRELEASED; urgency=low
|
||||
* Bogus completion when mounting subdirs fixed (Closes: #322238)
|
||||
* Fix `apt-cache showsrc` completing only on source package names
|
||||
(Closes: #361535)
|
||||
* Fix bug with gdb (and find) when an empty directory is in $PATH
|
||||
(thanks to Morita Sho) (Closes: #497597)
|
||||
* Fixed bugs with gdb completion:
|
||||
- when an empty directory is in $PATH (thanks to Morita Sho)
|
||||
(Closes: #497597)
|
||||
- when a non-existing directory is in $PATH (Closes: #499780)
|
||||
* Fix missing completion for "-n" and "-e" (we were using echo, now
|
||||
using printf) (thanks to Morita Sho) (Closes: #498105)
|
||||
* Added gksudo, gksu, kdesudo completion
|
||||
* Added apache2ctl completion
|
||||
* debian/links fixed (Closes: #494292)
|
||||
|
||||
-- David Paleino <d.paleino@gmail.com> Sun, 14 Sep 2008 12:30:20 +0200
|
||||
-- David Paleino <d.paleino@gmail.com> Fri, 26 Sep 2008 21:36:35 +0200
|
||||
|
||||
bash-completion (20080705) unstable; urgency=low
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user