summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-cfg
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d/vyatta-cfg')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 83e0e9d..0b37f1c 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -28,6 +28,10 @@ export HISTFILESIZE=10000
export HISTSIZE=10000
export HISTTIMEFORMAT='%FT%T%z '
export PROMPT_COMMAND='history -a'
+
+# remove colon from completion word seperators
+export COMP_WORDBREAKS=${COMP_WORDBREAKS/:/}
+
builtin set histappend=1
# only do this if we are going into configure mode