summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/bash_completion.d')
-rw-r--r--etc/bash_completion.d/vyatta-cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index f76437e..7288b4a 100644
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -473,6 +473,7 @@ vyatta_escape ()
# $1: \$original
# $2: \$escaped
eval "$2=\${$1//\%/%25}"
+ eval "$2=\${$2//\*/%2A}"
eval "$2=\${$2//\//%2F}"
}
@@ -481,6 +482,7 @@ vyatta_unescape ()
# $1: \$escaped
# $2: \$original
eval "$2=\${$1//\%2F/\/}"
+ eval "$2=\${$2//\%2A/*}"
eval "$2=\${$2//\%25/%}"
}