diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-01 17:16:01 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-01 17:16:01 -0800 |
commit | 86d0c6a382fc494c2dda0a95ef84780d368cc40d (patch) | |
tree | 397ce3f23cfe90811ac8ba988107712e426063cf /etc | |
parent | c86a6b00e60689dcf6d724b52def6dbecbe01873 (diff) | |
download | vyatta-cfg-86d0c6a382fc494c2dda0a95ef84780d368cc40d.tar.gz vyatta-cfg-86d0c6a382fc494c2dda0a95ef84780d368cc40d.zip |
update config completion for "$VAR()"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/bash_completion.d/20vyatta-cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index 00482c5..7d0b633 100644 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -423,8 +423,8 @@ vyatta_parse_tmpl () return fi eval `sed -n ' - /^syntax:expression:[ ]\+\$(@)[ ]\+in[ ]\+/ { - s/^syntax:expression:[ ]\+\$(@)[ ]\+in[ ]\+/vyatta_cfg_allowed=( / + /^syntax:expression:[ ]\+\$VAR(@)[ ]\+in[ ]\+/ { + s/^syntax:expression:[ ]\+\$VAR(@)[ ]\+in[ ]\+/vyatta_cfg_allowed=( / s/^\([^;]\+\);.*$/\1 )/ s/[ ]*,[ ]*/ /gp } |