From 9c075f1069aa4add55e0cd7dc4ecccc2101c540a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 30 Nov 2010 20:39:47 -0800 Subject: Use new bash completion for empty command Bug 6401 Use the new bash 4.1 completion for empty top level command --- debian/control | 2 +- 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 -- cgit v1.2.3