ct-ng.comp
changeset 2941 13e40098fffc
parent 1876 a6a4beab3125
child 2988 a57b8a45ea26
     1.1 --- a/ct-ng.comp	Fri Apr 02 00:18:26 2010 +0200
     1.2 +++ b/ct-ng.comp	Mon Apr 16 15:25:36 2012 +0200
     1.3 @@ -6,9 +6,7 @@
     1.4      cur=$(_get_cword)
     1.5      prev=${COMP_WORDS[COMP_CWORD-1]}
     1.6  
     1.7 -    samples=$( "${COMP_WORDS[0]}" list-samples 2>/dev/null  \
     1.8 -               |tail -n +2 |sed -e '/^ /d; s/ .*//;'        \
     1.9 -             )
    1.10 +    samples=$( "${COMP_WORDS[0]}" list-samples-short 2>/dev/null )
    1.11      show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;')
    1.12      build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;')
    1.13  
    1.14 @@ -18,8 +16,9 @@
    1.15  
    1.16      actions='help menuconfig oldconfig saveconfig extractconfig
    1.17               build build. build-all build-all.
    1.18 -             list-samples list-steps show-tuple show-all show-config
    1.19 -             clean distclean wiki-samples updatetools
    1.20 +             wiki-samples list-samples list-samples-short list-steps
    1.21 +             show-tuple show-all show-config
    1.22 +             clean distclean updatetools
    1.23               tarball version'
    1.24  
    1.25      vars="RESTART= STOP= PREFIX= V="