[1] | 1 | |
---|
| 2 | function cmt_macros { reply=(`cmt -quiet show macro_names`)}; \ |
---|
| 3 | function cmt_sets { reply=(`cmt -quiet show set_names`)}; \ |
---|
| 4 | function cmt_constituents { reply=(`cmt -quiet show constituent_names`) }; \ |
---|
| 5 | function cmt_fragments { reply=(`cmt -quiet show fragments | sed 's#.*/fragments/##'`)}; \ |
---|
| 6 | function cmt_default_path { d=`dirname ${CMTROOT}`; reply=(`dirname ${d}`) }; \ |
---|
| 7 | function cmt_patterns { reply=(`cmt -quiet show pattern_names`) }; \ |
---|
| 8 | compctl -k '(broadcast,build,check,check_files,checkout,co,cleanup,config,create,expand,filter,help,lock,remove,run,setup,show,system,unlock,version,cvstags,cvsbranches,cvssubpackages)' -x \ |
---|
| 9 | 'c[-1,broadcast]' -k '(-begin=,-select=,-exclude=,-local,-global,-depth=)' - \ |
---|
| 10 | 's[build],c[-1,build]' -k '(CMT_pacman, constituent_makefile,constituents_makefile,dependencies,library_links,make_setup,msdev,os9_makefile,prototype,readme,tag_makefile,temporary_name,triggers,win_makefile)' - \ |
---|
| 11 | 'w[1,build] c[-1,constituent_makefile]' -K cmt_constituents - \ |
---|
| 12 | 'w[1,build] c[-1,triggers]' -K cmt_constituents - \ |
---|
| 13 | 'c[-1,check]' -k '(configuration,files,version)' - \ |
---|
| 14 | 'w[1,create] p[2]' -X '> give package name' - \ |
---|
| 15 | 'w[1,create] p[3]' -X '> give version tag' - \ |
---|
| 16 | 'w[1,create] p[4]' -X '> give a path if not created from current path' - \ |
---|
| 17 | 's[expand],c[-1,expand]' -k '(model)' - \ |
---|
| 18 | 'w[1,remove] p[2]' -X '> library_links or give package name' - \ |
---|
| 19 | 'w[1,remove] p[3]' -X '> give version tag' - \ |
---|
| 20 | 'w[1,remove] p[4]' -X '> give a path if not located from the current path ' - \ |
---|
| 21 | 's[show],c[-1,show]' -k '(all_tags,applied_patterns,author,branches,clients,cmtpath_patterns,constituent,constituent_names,constituents,cycles,fragment,fragments,groups,include_dirs,language,languages,macro,macro_names,macro_value,macros,manager,packages,path,pattern,patterns,pwd,set,set_names,set_value,sets,strategies,tags,use_paths,uses,versions)' - \ |
---|
| 22 | 'w[1,show] c[-1,constituent]' -K cmt_constituents - \ |
---|
| 23 | 'w[1,show] c[-1,fragment]' -K cmt_fragments - \ |
---|
| 24 | 'w[1,show] c[-1,macro]' -K cmt_macros - \ |
---|
| 25 | 'w[1,show] c[-1,macro_value]' -K cmt_macros - \ |
---|
| 26 | 'w[1,show] c[-1,pattern]' -K cmt_patterns - \ |
---|
| 27 | 'w[1,show] c[-1,set]' -K cmt_sets - \ |
---|
| 28 | 'w[1,show] c[-1,set_value]' -K cmt_sets - \ |
---|
| 29 | 'c[-1,co]' -k '(-l,-R,-r,-d,-o,-requirements)' - \ |
---|
| 30 | 'c[-1,checkout]' -k '(-l,-R,-r,-d,-o,-requirements)' - \ |
---|
| 31 | 'c[-1,-r]' -X 'give a CVS tag' - \ |
---|
| 32 | 'c[-1,-d]' -X 'give a directory name' - \ |
---|
| 33 | 'c[-1,-o]' -X 'give an offset in the CVS repository' - \ |
---|
| 34 | 'c[-1,-requirements]' -f - \ |
---|
| 35 | 'c[-1,co]' -X 'give package name' \ |
---|
| 36 | -- cmt.exe |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | |
---|