From 4b51d1ab1e763d93c942f10d874e215d777fae5b Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 15 Jul 2010 13:17:56 -0700 Subject: allow escaping literal strings --- etc/bash_completion.d/20vyatta-cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') 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 '' ;; -- cgit v1.2.3