summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/20vyatta-cfg
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-01 17:16:01 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-01 17:16:01 -0800
commit86d0c6a382fc494c2dda0a95ef84780d368cc40d (patch)
tree397ce3f23cfe90811ac8ba988107712e426063cf /etc/bash_completion.d/20vyatta-cfg
parentc86a6b00e60689dcf6d724b52def6dbecbe01873 (diff)
downloadvyatta-cfg-86d0c6a382fc494c2dda0a95ef84780d368cc40d.tar.gz
vyatta-cfg-86d0c6a382fc494c2dda0a95ef84780d368cc40d.zip
update config completion for "$VAR()"
Diffstat (limited to 'etc/bash_completion.d/20vyatta-cfg')
-rw-r--r--etc/bash_completion.d/20vyatta-cfg4
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
}