source: CMT/HEAD/src/setup.zsh@ 45

Last change on this file since 45 was 45, checked in by arnault, 20 years ago

cmt cvs operations - See CL 272

  • Property svn:eol-style set to native
  • Property svn:ignore set to setup.*
File size: 3.0 KB
Line 
1#-----------------------------------------------------------
2# Copyright Christian Arnault LAL-Orsay CNRS
3# arnault@lal.in2p3.fr
4# See the complete license in cmt_license.txt "http://www.cecill.info".
5#-----------------------------------------------------------
6
7function cmt_macros { reply=(`cmt -quiet show macro_names`)}; \
8 function cmt_actions { reply=(`cmt -quiet show action_names`)}; \
9 function cmt_sets { reply=(`cmt -quiet show set_names`)}; \
10 function cmt_constituents { reply=(`cmt -quiet show constituent_names`) }; \
11 function cmt_fragments { reply=(`cmt -quiet show fragments | sed 's#.*/fragments/##'`)}; \
12 function cmt_default_path { d=`dirname ${CMTROOT}`; reply=(`dirname ${d}`) }; \
13 function cmt_patterns { reply=(`cmt -quiet show pattern_names`) }; \
14 compctl -k '(broadcast,build,check,check_files,checkout,co,cleanup,config,create,create_project,expand,filter,help,lock,remove,run,setup,show,system,unlock,version,cvstags,cvsbranches,cvssubpackages,cvssubprojects)' -x \
15 'c[-1,broadcast]' -k '(-begin=,-select=,-exclude=,-local,-global,-depth=)' - \
16 '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)' - \
17 'w[1,build] c[-1,constituent_makefile]' -K cmt_constituents - \
18 'w[1,build] c[-1,triggers]' -K cmt_constituents - \
19 'c[-1,check]' -k '(configuration,files,version)' - \
20 'w[1,create] p[2]' -X '> give package name' - \
21 'w[1,create] p[3]' -X '> give version tag' - \
22 'w[1,create] p[4]' -X '> give a path if not created from current path' - \
23 's[expand],c[-1,expand]' -k '(model)' - \
24 'w[1,remove] p[2]' -X '> library_links or give package name' - \
25 'w[1,remove] p[3]' -X '> give version tag' - \
26 'w[1,remove] p[4]' -X '> give a path if not located from the current path ' - \
27 's[show],c[-1,show]' -k '(action,action_names,action_value,actions,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,projects,pwd,set,set_names,set_value,sets,strategies,tags,use_paths,uses,versions)' - \
28 'w[1,show] c[-1,constituent]' -K cmt_constituents - \
29 'w[1,show] c[-1,fragment]' -K cmt_fragments - \
30 'w[1,show] c[-1,action]' -K cmt_actions - \
31 'w[1,show] c[-1,action_value]' -K cmt_actions - \
32 'w[1,show] c[-1,macro]' -K cmt_macros - \
33 'w[1,show] c[-1,macro_value]' -K cmt_macros - \
34 'w[1,show] c[-1,pattern]' -K cmt_patterns - \
35 'w[1,show] c[-1,set]' -K cmt_sets - \
36 'w[1,show] c[-1,set_value]' -K cmt_sets - \
37 'c[-1,co]' -k '(-l,-R,-r,-d,-o,-requirements)' - \
38 'c[-1,checkout]' -k '(-l,-R,-r,-d,-o,-requirements)' - \
39 'c[-1,-r]' -X 'give a CVS tag' - \
40 'c[-1,-d]' -X 'give a directory name' - \
41 'c[-1,-o]' -X 'give an offset in the CVS repository' - \
42 'c[-1,-requirements]' -f - \
43 'c[-1,co]' -X 'give package name' \
44 -- cmt.exe
45
46
47
Note: See TracBrowser for help on using the repository browser.