diff options
Diffstat (limited to 'ct-ng.comp')
-rw-r--r-- | ct-ng.comp | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -6,9 +6,7 @@ _ct-ng () { cur=$(_get_cword) prev=${COMP_WORDS[COMP_CWORD-1]} - samples=$( "${COMP_WORDS[0]}" list-samples 2>/dev/null \ - |tail -n +2 |sed -e '/^ /d; s/ .*//;' \ - ) + samples=$( "${COMP_WORDS[0]}" list-samples-short 2>/dev/null ) show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;') build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;') @@ -18,8 +16,9 @@ _ct-ng () { actions='help menuconfig oldconfig saveconfig extractconfig build build. build-all build-all. - list-samples list-steps show-tuple show-all show-config - clean distclean wiki-samples updatetools + wiki-samples list-samples list-samples-short list-steps + show-tuple show-all show-config + clean distclean updatetools tarball version' vars="RESTART= STOP= PREFIX= V=" |