* 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') )
|
local path_array=( $(echo "$PATH" | sed 's/::\+/:/g;s/^:\|:$//g') )
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
COMPREPLY=( $( compgen -d -W '$(find "${path_array[@]}" . \
|
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" ) )
|
-- "$cur" ) )
|
||||||
fi
|
fi
|
||||||
elif [ $COMP_CWORD -eq 2 ]; then
|
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)
|
* Bogus completion when mounting subdirs fixed (Closes: #322238)
|
||||||
* Fix `apt-cache showsrc` completing only on source package names
|
* Fix `apt-cache showsrc` completing only on source package names
|
||||||
(Closes: #361535)
|
(Closes: #361535)
|
||||||
* Fix bug with gdb (and find) when an empty directory is in $PATH
|
* Fixed bugs with gdb completion:
|
||||||
(thanks to Morita Sho) (Closes: #497597)
|
- 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
|
* Fix missing completion for "-n" and "-e" (we were using echo, now
|
||||||
using printf) (thanks to Morita Sho) (Closes: #498105)
|
using printf) (thanks to Morita Sho) (Closes: #498105)
|
||||||
* Added gksudo, gksu, kdesudo completion
|
* Added gksudo, gksu, kdesudo completion
|
||||||
* Added apache2ctl completion
|
* Added apache2ctl completion
|
||||||
* debian/links fixed (Closes: #494292)
|
* 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
|
bash-completion (20080705) unstable; urgency=low
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user