From e20bbb25b010b46d19f2d1433c1aec400a23e4ab Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 4 Oct 2011 16:09:28 -0500 Subject: Clear vyatta_cfg_comp_help when starting a new completion otherwise the Detailed Information section from the previous completion will be retained on this completion --- etc/bash_completion.d/vyatta-cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index 0dad69d..860e485 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -613,6 +613,7 @@ vyatta_config_complete () { local restore_shopts=$( shopt -p extglob nullglob | tr \\n \; ) shopt -s extglob nullglob + vyatta_cfg_comp_help='' if [ "$COMP_LINE" == "$VYATTA_COMP_LINE" ]; then VYATTA_COMP_LINE=$VYATTA_COMP_LINE_EMPTY -- cgit v1.2.3