- Timestamp:
- Jul 5, 2011, 10:50:24 AM (13 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r584 r585 1 2011-07-05 <rybkin@lal.in2p3.fr> 463 2 3 * src/setup.tcsh: Offer CVS related commands for completion if CVSROOT is 4 set and not null only, provide completions for make and run commands 5 * src/setup.zsh: idem, try default completion if no match found 6 * src/setup.sh: Test for BASH and define command completion for it if 7 appropriate 8 * src/setup.bash: Implement command completion for BASH 9 1 10 2011-06-27 <rybkin@lal.in2p3.fr> 462 2 11 -
CMT/HEAD/src/setup.sh
r584 r585 14 14 if [ -n "${ZSH_NAME-}" ]; then 15 15 . ${CMTROOT}/src/setup.zsh 16 elif [ -n "${BASH-}" ]; then 17 . ${CMTROOT}/src/setup.bash 16 18 fi 17 19 fi -
CMT/HEAD/src/setup.tcsh
r583 r585 2 2 # Copyright Christian Arnault LAL-Orsay CNRS 3 3 # arnault@lal.in2p3.fr 4 # modified by garonne@lal.in2p3.fr4 # Modified by garonne@lal.in2p3.fr, Grigory Rybkin 5 5 # See the complete license in cmt_license.txt "http://www.cecill.info". 6 6 #----------------------------------------------------------- 7 7 8 complete 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)'/ \ 8 complete cmt p/1/'`echo broadcast build check check_files checkout co cleanup config create create_project expand filter help lock relocate remove run setup show system unlock version ; if (${?CVSROOT}) echo cvstags cvsbranches cvssubpackages cvssubprojects`'/ \ 9 n/make/'`cmt -quiet show constituent_names; cmt -quiet show groups; echo check all binclean help`'/ \ 9 10 n/broadcast/'(-begin= -select= -exclude= -local -global -depth=)'/ \ 10 11 n/'-{begin=,select=,exclude=,local,global,depth=}'/c/ \ 11 n/ br/c/ \12 n/'{br,run}'/c/ \ 12 13 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 14 n/check_files/f/ \ -
CMT/HEAD/src/setup.zsh
r584 r585 2 2 # Copyright Christian Arnault LAL-Orsay CNRS 3 3 # arnault@lal.in2p3.fr 4 # Modified by garonne@lal.in2p3.fr 4 # Modified by garonne@lal.in2p3.fr, Grigory Rybkin 5 5 # See the complete license in cmt_license.txt "http://www.cecill.info". 6 6 #----------------------------------------------------------- … … 15 15 function cmt_default_path { d=`dirname ${CMTROOT}`; reply=(`dirname ${d}`) }; \ 16 16 function cmt_patterns { reply=(`cmt -quiet show pattern_names`) }; \ 17 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)' - \ 17 function cmt_make { reply=(`cmt -quiet show constituent_names` `cmt -quiet show groups` check all binclean help) }; \ 18 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 ${CVSROOT:+,cvstags,cvsbranches,cvssubpackages,cvssubprojects})" - \ 19 'c[-1,make]' -K cmt_make - \ 18 20 'w[1,broadcast] S[-]' -k '(-begin=,-select=,-exclude=,-local,-global,-depth=)' - \ 19 'w[1,broadcast] ' -c - \21 'w[1,broadcast],w[1,run]' -c - \ 20 22 '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)' - \ 21 23 'w[1,build] c[-1,constituent_makefile]' -K cmt_constituents - \ … … 46 48 'c[-1,-requirements]' -f - \ 47 49 'c[-1,co],c[-1,checkout]' -X 'give package name' - \ 48 -- cmt.exe50 -- + cmt.exe
Note: See TracChangeset
for help on using the changeset viewer.