fixed escaping problems with job control (i.e. disown, jobs, bg,

fg): the argument is now surrounded by "" (Closes: #347316)
master
David Paleino 2008-05-11 14:32:21 +02:00
parent 9cbd3ceab2
commit 613436a3f1
2 changed files with 5 additions and 3 deletions

View File

@ -130,10 +130,10 @@ complete -u su usermod userdel passwd chage write chfn groups slay w sux
[ -n "$bash205" ] && complete -g groupmod groupdel newgrp 2>/dev/null
# bg completes with stopped jobs
complete -A stopped -P '%' bg
complete -A stopped -P '"%' -S '"' bg
# other job commands
complete -j -P '%' fg jobs disown
complete -j -P '"%' -S '"' fg jobs disown
# readonly and unset complete with shell variables
complete -v readonly unset

4
debian/changelog vendored
View File

@ -11,6 +11,8 @@ bash-completion (20080501-1) UNRELEASED; urgency=low
- added rrdtool completion, thanks to Justin Pryzby (Closes: #428641)
- added OpenDocument completion for unzip/zipinfo (.od{f,g,p,s,t})
(Closes: #472940)
- fixed escaping problems with job control (i.e. disown, jobs, bg,
fg): the argument is now surrounded by "" (Closes: #347316)
* debian/copyright - now in a fancier machine-parsable format.
* debian/control:
- added myself to Uploaders
@ -37,7 +39,7 @@ bash-completion (20080501-1) UNRELEASED; urgency=low
* Update apt-get completion to include the flag "--no-install-recommends"
(Closes: #475242)
-- David Paleino <d.paleino@gmail.com> Sat, 10 May 2008 17:59:26 +0200
-- David Paleino <d.paleino@gmail.com> Sun, 11 May 2008 14:30:33 +0200
bash-completion (20060301-4) unstable; urgency=low