summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-07-15 13:17:56 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-07-15 13:17:56 -0700
commit4b51d1ab1e763d93c942f10d874e215d777fae5b (patch)
tree8da393aaad337b25d2ee8002e906aa356b484980 /etc
parentbe48c071764b9a31da8270b6dfe3cf3e8cf7a453 (diff)
downloadvyatta-cfg-4b51d1ab1e763d93c942f10d874e215d777fae5b.tar.gz
vyatta-cfg-4b51d1ab1e763d93c942f10d874e215d777fae5b.zip
allow escaping literal strings
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 06c1c08..470b54d 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -821,6 +821,9 @@ get_value_format_string ()
{
local vtype=$1
case "$vtype" in
+ _*)
+ echo -n "${vtype#_}"
+ ;;
txt)
echo -n '<text>'
;;