[Bash-completion-commits] ./current r1098: fixed escaping problems with job control (i.e. disown, jobs, bg,

David Paleino d.paleino at gmail.com
Sun May 11 12:32:21 UTC 2008


------------------------------------------------------------
revno: 1098
committer: David Paleino <d.paleino at gmail.com>
branch nick: bash-completion
timestamp: Sun 2008-05-11 14:32:21 +0200
message:
  fixed escaping problems with job control (i.e. disown, jobs, bg, 
  fg): the argument is now surrounded by "" (Closes: #347316)
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-05-10 16:04:06 +0000
+++ b/bash_completion	2008-05-11 12:32:21 +0000
@@ -130,10 +130,10 @@
 [ -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

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-05-10 16:04:06 +0000
+++ b/debian/changelog	2008-05-11 12:32:21 +0000
@@ -11,6 +11,8 @@
     - 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 @@
   * Update apt-get completion to include the flag "--no-install-recommends"
     (Closes: #475242)
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 10 May 2008 17:59:26 +0200
+ -- David Paleino <d.paleino at gmail.com>  Sun, 11 May 2008 14:30:33 +0200
 
 bash-completion (20060301-4) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list