diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-12-01 08:59:04 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-12-01 08:59:04 -0800 |
commit | 4de2df295d7b56c04859eaebaf64e27720612d9c (patch) | |
tree | 1b04d48c4716282163b03b86f35d772013a30d9a /etc | |
parent | 479c7021e19e16f74c9aff7d0f4d5d9df15458a1 (diff) | |
download | vyatta-op-4de2df295d7b56c04859eaebaf64e27720612d9c.tar.gz vyatta-op-4de2df295d7b56c04859eaebaf64e27720612d9c.zip |
Add default command completion
This fixes the case of
$se<TAB>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index 32904a2..06cb03a 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -1,3 +1,4 @@ +# vyatta bash operational mode completion # **** License **** # This program is free software; you can redistribute it and/or modify @@ -78,7 +79,9 @@ _vyatta_op_debug () _vyatta_op_init () { + # empty and default line compeletion complete -E -F _vyatta_op_expand + complete -D -F _vyatta_op_expand for xd in $vyatta_op_templates/* ; do if [ -d $xd ] ; then |