summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-14 20:06:37 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-14 20:06:37 (GMT)
commitcb5b60fc07784346c527e93ceff5d656bef20712 (patch)
treef69fbd65fe07fcef270a2897848368809e1e8efb
parent637a4b94e8e7a4955d9b1bf0a258207068a06a1a (diff)
Correctly auto-complete with start-steps as well.
/trunk/ct-ng.comp | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
-rw-r--r--ct-ng.comp2
1 files changed, 1 insertions, 1 deletions
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