diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-22 18:13:56 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-22 18:13:56 -0700 |
commit | 5dc05fab7f408cc342409c5278e2277126240ec0 (patch) | |
tree | 0c1523f3634c5b3bf61b999ef6df4586592546a2 /etc | |
parent | 42945feee9465a90e5504d0df72a1cc03ad7c255 (diff) | |
download | vyatta-cfg-5dc05fab7f408cc342409c5278e2277126240ec0.tar.gz vyatta-cfg-5dc05fab7f408cc342409c5278e2277126240ec0.zip |
first commit to mendocino!
re-enable activate/deactivate
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index 3395638..901806d 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -1039,9 +1039,11 @@ vyatta_config_complete () fi if (( ${#COMP_WORDS[@]} < 2 )); then - declare -a hitems=( "comment" \ + declare -a hitems=( "activate" \ + "comment" \ "commit" \ "copy" \ + "deactivate" \ "delete" \ "discard" \ "edit" \ @@ -1055,9 +1057,11 @@ vyatta_config_complete () "set" \ "show" ) declare -a hstrs=( \ + "Activate this element" \ "Add comment to this configuration element" \ "Commit the current set of changes" \ "Copy a configuration element" \ + "Deactivate this element" \ "Delete a configuration element" \ "Discard uncommitted changes" \ "Edit a sub-element" \ @@ -1396,6 +1400,8 @@ if ! bind -p |grep -q '\\C-x\\C-o'; then fi complete -F vyatta_config_complete '' +complete -F vyatta_config_complete activate +complete -F vyatta_config_complete deactivate complete -F vyatta_config_complete set complete -F vyatta_config_complete delete complete -F vyatta_config_complete show |