From 4de2df295d7b56c04859eaebaf64e27720612d9c Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 1 Dec 2010 08:59:04 -0800 Subject: Add default command completion This fixes the case of $se --- etc/bash_completion.d/vyatta-op | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3