summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-29 11:23:02 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-29 11:23:02 +0100
commit80e24b9dcf24dd39be5a1916e3d638b4c01f3783 (patch)
tree87c445f0e8922deedad94803eb985db751ee7941
parent4121fdda5b01424ec891906d7229e70ff7c1daf3 (diff)
downloadvyatta-cfg-80e24b9dcf24dd39be5a1916e3d638b4c01f3783.tar.gz
vyatta-cfg-80e24b9dcf24dd39be5a1916e3d638b4c01f3783.zip
bash: completion: add new "filename" option
-rw-r--r--etc/bash_completion.d/vyatta-cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index e350291..8fc92e9 100644
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -562,6 +562,9 @@ get_value_format_string ()
hostname)
echo -n '<hostname>'
;;
+ filename)
+ echo -n '<filename>'
+ ;;
*)
echo -n "$vtype"
;;