From 86d0c6a382fc494c2dda0a95ef84780d368cc40d Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 1 Feb 2008 17:16:01 -0800 Subject: update config completion for "$VAR()" --- etc/bash_completion.d/20vyatta-cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') 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 } -- cgit v1.2.3