From a7fcaabddafd970790abd99cd9afed0625aac49b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 4 Jan 2011 17:09:11 -0800 Subject: Fix completion of IPv6 address By default bash completion considers ':' as seperator between tokens when doing completion. But the list of characters is configurable. --- etc/bash_completion.d/vyatta-cfg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') 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 -- cgit v1.2.3