[Bash-completion-commits] ./current r1183: * Fixed bugs with gdb completion:
David Paleino
d.paleino at gmail.com
Fri Sep 26 19:39:30 UTC 2008
------------------------------------------------------------
revno: 1183
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Fri 2008-09-26 21:39:30 +0200
message:
* Fixed bugs with gdb completion:
- when a non-existing directory is in $PATH (Closes: #499780)
modified:
bash_completion
debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2008-09-14 10:33:50 +0000
+++ b/bash_completion 2008-09-26 19:39:30 +0000
@@ -4097,7 +4097,7 @@
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
=== modified file 'debian/changelog'
--- a/debian/changelog 2008-09-14 10:30:41 +0000
+++ b/debian/changelog 2008-09-26 19:39:30 +0000
@@ -15,15 +15,17 @@
* 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 at gmail.com> Sun, 14 Sep 2008 12:30:20 +0200
+ -- David Paleino <d.paleino at gmail.com> Fri, 26 Sep 2008 21:36:35 +0200
bash-completion (20080705) unstable; urgency=low
More information about the Bash-completion-commits
mailing list