Changeset 583 for CMT/HEAD


Ignore:
Timestamp:
Jun 22, 2011, 4:00:10 PM (13 years ago)
Author:
rybkin
Message:

See C.L. 461

Location:
CMT/HEAD
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r582 r583  
     12011-06-22    <rybkin@lal.in2p3.fr> 461
     2
     3        * src/setup.tcsh: Improve/fix word completions for tcsh
     4        * src/setup.zsh: Improve/fix word completions for zsh
     5        * src/setup.csh: Ensure tcsh is always identified and word completions are
     6        defined
     7       
    182011-06-09    <rybkin@lal.in2p3.fr> 460
    29
  • CMT/HEAD/src/setup.csh

    r11 r583  
    1111endif
    1212
    13 if ( `basename "$SHELL"` == "tcsh" ) then
     13if ( $?tcsh == 1 || `basename "$shell"` == "tcsh" ) then
    1414  source ${CMTROOT}/src/setup.tcsh
    1515endif
  • CMT/HEAD/src/setup.tcsh

    r525 r583  
    66#-----------------------------------------------------------
    77
    8 complete cmt p/1/'(broadcast build check check_files checkout co cleanup config create expand filter help lock relocate remove run setup show system unlock version cvstags cvsbranches cvssubpackages cvssubprojects)'/ \
     8complete cmt p/1/'(broadcast build check check_files checkout co cleanup config create create_project expand filter help lock relocate remove run setup show system unlock version cvstags cvsbranches cvssubpackages cvssubprojects)'/ \
     9 n/broadcast/'(-begin= -select= -exclude= -local -global -depth=)'/ \
     10 n/'-{begin=,select=,exclude=,local,global,depth=}'/c/ \
     11 n/br/c/ \
    912 n/build/'(CMT_pacman constituent_makefile constituents_makefile dependencies library_links make_setup msdev os9_makefile prototype readme tag_makefile temporary_name triggers win_makefile)'/ \
     13 n/check_files/f/ \
     14 n/expand/'(model)'/ \
    1015 n/show/'(action action_names action_value actions all_tags applied_patterns author branches clients cmtpath_patterns constituent constituent_names constituents container cycles fragment fragments groups include_dirs language languages macro macro_names macro_value macros manager packages path pattern patterns projects project_author pwd set set_names set_value sets strategies tags use_paths uses versions)'/ \
    11  n/check/'(configuration files version)'/ \
    12  n/expand/'(model)'/ \
     16 n/constituents_makefile/n/ \
    1317 n/constituent/'`cmt -quiet show constituent_names`'/ \
    1418 n/fragment/'`cmt -quiet show fragments | sed -e "s#.*fragments.##" `'/ \
    1519 n/action/'`cmt -quiet show action_names | sed -e "s#=.*##" `'/ \
    1620 n/action_value/'`cmt -quiet show action_names | sed -e "s#=.*##" `'/ \
    17  n/build/'(CMT_pacman constituent_makefile constituents_makefile dependencies library_links make_setup msdev os9_makefile prototype readme tag_makefile temporary_name triggers win_makefile)'/ \
    18  n/broadcast/'(-begin= -select= -exclude= -local -global -depth=)'/ \
    1921 n/macro/'`cmt -quiet show macro_names | sed -e "s#=.*##" `'/ \
    2022 n/macro_value/'`cmt -quiet show macro_names | sed -e "s#=.*##" `'/ \
     
    2325 n/set_value/'`cmt -quiet show set_names | sed -e "s#=.*##" `'/ \
    2426 n/triggers/'`cmt -quiet show constituent_names`'/ \
    25  n/co/'(-l,-R,-r,-d,-o,-requirements)'/ \
    26  n/checkout/'(-l,-R,-r,-d,-o,-requirements)'/
     27 'n/c{o,heckout}/(-l -R -r -C -i -vd -d -o -requirements -no_config -rs --help)/' \
     28 n/check/'(configuration files version)'/
  • CMT/HEAD/src/setup.zsh

    r525 r583  
    1313   function cmt_default_path { d=`dirname ${CMTROOT}`; reply=(`dirname ${d}`) }; \
    1414   function cmt_patterns { reply=(`cmt -quiet show pattern_names`) }; \
    15    compctl -k '(broadcast,build,check,check_files,checkout,co,cleanup,config,create,create_project,expand,filter,help,lock,relocate,remove,run,setup,show,system,unlock,version,cvstags,cvsbranches,cvssubpackages,cvssubprojects)' -x \
    16    'c[-1,broadcast]' -k '(-begin=,-select=,-exclude=,-local,-global,-depth=)' - \
     15   compctl -x 'p[1]' -k '(broadcast,build,check,check_files,checkout,co,cleanup,config,create,create_project,expand,filter,help,lock,relocate,remove,run,setup,show,system,unlock,version,cvstags,cvsbranches,cvssubpackages,cvssubprojects)' - \
     16   'w[1,broadcast] S[-]' -k '(-begin=,-select=,-exclude=,-local,-global,-depth=)' - \
     17   'w[1,broadcast]' -c - \
    1718   '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)' - \
    1819   'w[1,build] c[-1,constituent_makefile]' -K cmt_constituents - \
    1920   'w[1,build] c[-1,triggers]' -K cmt_constituents - \
    2021   'c[-1,check]' -k '(configuration,files,version)' - \
     22   'C[-1,*files],C[-2,*files]' -f - \
    2123   'w[1,create] p[2]' -X '> give package name' - \
    2224   'w[1,create] p[3]' -X '> give version tag' - \
    2325   'w[1,create] p[4]' -X '> give a path if not created from current path' - \
    24    's[expand],c[-1,expand]' -k '(model)' - \
     26   'c[-1,expand]' -k '(model)' - \
    2527   'w[1,remove] p[2]' -X '> library_links or give package name' - \
    2628   'w[1,remove] p[3]' -X '> give version tag' - \
     
    3638   'w[1,show] c[-1,set]' -K cmt_sets - \
    3739   'w[1,show] c[-1,set_value]' -K cmt_sets - \
    38    'c[-1,co]' -k '(-l,-R,-r,-d,-o,-requirements)' - \
    39    'c[-1,checkout]' -k '(-l,-R,-r,-d,-o,-requirements)' - \
     40   'w[1,co] s[-],w[1,checkout] s[-]' -k '(l R r C i vd d o requirements no_config rs -help)' - \
    4041   'c[-1,-r]' -X 'give a CVS tag' - \
    41    'c[-1,-d]' -X 'give a directory name' - \
     42   'C[-1,(-vd|-d)]' -/ -X 'give a directory name' - \
    4243   'c[-1,-o]' -X 'give an offset in the CVS repository' - \
    4344   'c[-1,-requirements]' -f - \
    44    'c[-1,co]' -X 'give package name' \
     45   'c[-1,co],c[-1,checkout]' -X 'give package name' - \
    4546   --  cmt.exe
    46 
    47 
    48 
Note: See TracChangeset for help on using the changeset viewer.