From cb5b60fc07784346c527e93ceff5d656bef20712 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 14 Oct 2008 20:06:37 +0000 Subject: Correctly auto-complete with start-steps as well. /trunk/ct-ng.comp | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct-ng.comp b/ct-ng.comp index 2b5c250..87f42e8 100644 --- a/ct-ng.comp +++ b/ct-ng.comp @@ -10,7 +10,7 @@ _ct-ng () { show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;') steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }') - start_steps=$(echo "${steps}" |sed -r -e 's/(^| )/\1+/;') + start_steps=$(echo "${steps}" |sed -r -e 's/($| )/\1+/;') stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;') actions='menuconfig oldconfig saveconfig -- cgit v0.10.2-6-g49f6