diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-30 20:39:47 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-30 20:39:47 -0800 |
commit | 9c075f1069aa4add55e0cd7dc4ecccc2101c540a (patch) | |
tree | 5bbdadb0edff5be5869efd96c6c017bc55c040fe | |
parent | 20a16cd27ecf3832770cca619b862ae9a096b0eb (diff) | |
download | vyatta-op-9c075f1069aa4add55e0cd7dc4ecccc2101c540a.tar.gz vyatta-op-9c075f1069aa4add55e0cd7dc4ecccc2101c540a.zip |
Use new bash completion for empty command
Bug 6401
Use the new bash 4.1 completion for empty top level command
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | etc/bash_completion.d/vyatta-op | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/control b/debian/control index 724c211..485c457 100644 --- a/debian/control +++ b/debian/control @@ -18,7 +18,7 @@ Depends: sed (>= 4.1.5), lsof, coreutils (>= 5.97-5.3), host, - vyatta-bash | bash (>= 3.1), + vyatta-bash | bash (>= 4.1), less, libio-prompt-perl, mail-transport-agent, diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op index 6336038..32904a2 100644 --- a/etc/bash_completion.d/vyatta-op +++ b/etc/bash_completion.d/vyatta-op @@ -78,7 +78,7 @@ _vyatta_op_debug () _vyatta_op_init () { - complete -F _vyatta_op_expand '' + complete -E -F _vyatta_op_expand for xd in $vyatta_op_templates/* ; do if [ -d $xd ] ; then |