diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-07-15 13:17:56 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-07-15 13:17:56 -0700 |
commit | 4b51d1ab1e763d93c942f10d874e215d777fae5b (patch) | |
tree | 8da393aaad337b25d2ee8002e906aa356b484980 /etc | |
parent | be48c071764b9a31da8270b6dfe3cf3e8cf7a453 (diff) | |
download | vyatta-cfg-4b51d1ab1e763d93c942f10d874e215d777fae5b.tar.gz vyatta-cfg-4b51d1ab1e763d93c942f10d874e215d777fae5b.zip |
allow escaping literal strings
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 3 |
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>' ;; |