ct-ng.comp
changeset 920 44dd635202a4
parent 894 c444ce4b51b9
child 925 ac50e4f1360a
     1.1 --- a/ct-ng.comp	Wed Oct 01 18:10:40 2008 +0000
     1.2 +++ b/ct-ng.comp	Sun Oct 12 11:22:46 2008 +0000
     1.3 @@ -6,15 +6,15 @@
     1.4      cur=$(_get_cword)
     1.5      prev=${COMP_WORDS[COMP_CWORD-1]}
     1.6  
     1.7 -    samples=$(${COMP_WORDS[0]} list-samples)
     1.8 +    samples=$(${COMP_WORDS[0]} list-samples 2>/dev/null)
     1.9      show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;')
    1.10  
    1.11 -    steps=$(${COMP_WORDS[0]} list-steps |awk '$1 == "-" { print $2; }')
    1.12 +    steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }')
    1.13      start_steps=$(echo "${steps}" |sed -r -e 's/(^| )/\1+/;')
    1.14      stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
    1.15  
    1.16      actions='config menuconfig oldconfig saveconfig
    1.17 -             list-samples build list-steps regtest regtest-local
    1.18 +             list-samples build build. list-steps regtest regtest-local
    1.19               regtest-global clean distclean wiki-samples updatetools
    1.20               tarball'
    1.21