From a1a664266381ee6290f22213dc415960ec24b267 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 20 Mar 2008 18:25:42 -0700 Subject: handle <> completion correctly --- etc/bash_completion.d/20vyatta-cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index 7968cec..f979939 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -441,6 +441,8 @@ vyatta_parse_tmpl () if (( ${#vyatta_cfg_allowed[@]} == 0 )); then astr=$(eval "$acmd") + astr=${astr///\\>} eval "ares=( $astr )" for (( i=0 ; i<${#ares[@]} ; i++ )); do if [[ "${ares[i]}" != \<*\> ]]; then -- cgit v1.2.3