diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-04 17:09:11 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-04 17:09:11 -0800 |
commit | a7fcaabddafd970790abd99cd9afed0625aac49b (patch) | |
tree | a6d367d13943ad144567c5340d640b97420a20b7 /etc/bash_completion.d | |
parent | 8d962b8d27125f92482b41bf61d4fec790a610be (diff) | |
download | vyatta-cfg-a7fcaabddafd970790abd99cd9afed0625aac49b.tar.gz vyatta-cfg-a7fcaabddafd970790abd99cd9afed0625aac49b.zip |
Fix completion of IPv6 address
By default bash completion considers ':' as seperator between tokens
when doing completion. But the list of characters is configurable.
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-x | etc/bash_completion.d/vyatta-cfg | 4 |
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 |