[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-333-g8a5036a

Ville Skyttä ville.skytta at iki.fi
Wed May 25 21:56:37 UTC 2011


The following commit has been merged in the master branch:
commit 05f3bbec857543a39a97913bcdc9f3ea64f41cec
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu May 26 00:34:01 2011 +0300

    strace: Don't append space for -e *= completions.

diff --git a/completions/strace b/completions/strace
index e7296ca..0ce473f 100644
--- a/completions/strace
+++ b/completions/strace
@@ -5,7 +5,7 @@ have strace || return
 _strace()
 {
     local cur prev words cword
-    _init_completion || return
+    _init_completion -n = || return
 
     # check if we're still completing strace
     local offset=0 i
@@ -58,6 +58,7 @@ _strace()
                             ;;
                     esac
                 else
+                    compopt -o nospace
                     COMPREPLY=( $( compgen -S"=" -W 'trace abbrev verbose raw
                         signal read write' -- "$cur" ) )
                 fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list