Augmented Bash completion script to exclude : from word breaks
authorDmitriy Morozov <dmitriy@mrzv.org>
Fri, 03 Sep 2010 18:17:31 -0700
changeset 106 139707873c14
parent 105 1ce5c137b3e5
child 107 564899a22b31
Augmented Bash completion script to exclude : from word breaks
opster.py
--- a/opster.py	Sat May 29 15:46:31 2010 -0700
+++ b/opster.py	Fri Sep 03 18:17:31 2010 -0700
@@ -401,6 +401,7 @@
     COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \\
                    COMP_CWORD=$COMP_CWORD \\
                    OPSTER_AUTO_COMPLETE=1 $1 ) )
+    COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
 }
 complete -o default -F _opster_completion %s
 # opster bash completion end