Changeset 585 for CMT/HEAD


Ignore:
Timestamp:
Jul 5, 2011, 10:50:24 AM (13 years ago)
Author:
rybkin
Message:

See C.L. 463

Location:
CMT/HEAD
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r584 r585  
     12011-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       
    1102011-06-27    <rybkin@lal.in2p3.fr> 462
    211
  • CMT/HEAD/src/setup.sh

    r584 r585  
    1414if [ -n "${ZSH_NAME-}" ]; then
    1515  . ${CMTROOT}/src/setup.zsh
     16elif [ -n "${BASH-}" ]; then
     17  . ${CMTROOT}/src/setup.bash
    1618fi
    1719fi
  • CMT/HEAD/src/setup.tcsh

    r583 r585  
    22# Copyright Christian Arnault LAL-Orsay CNRS
    33# arnault@lal.in2p3.fr
    4 # modified by garonne@lal.in2p3.fr
     4# Modified by garonne@lal.in2p3.fr, Grigory Rybkin
    55# See the complete license in cmt_license.txt "http://www.cecill.info".
    66#-----------------------------------------------------------
    77
    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)'/ \
     8complete 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`'/ \
    910 n/broadcast/'(-begin= -select= -exclude= -local -global -depth=)'/ \
    1011 n/'-{begin=,select=,exclude=,local,global,depth=}'/c/ \
    11  n/br/c/ \
     12 n/'{br,run}'/c/ \
    1213 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)'/ \
    1314 n/check_files/f/ \
  • CMT/HEAD/src/setup.zsh

    r584 r585  
    22# Copyright Christian Arnault LAL-Orsay CNRS
    33# arnault@lal.in2p3.fr
    4 # Modified by garonne@lal.in2p3.fr
     4# Modified by garonne@lal.in2p3.fr, Grigory Rybkin
    55# See the complete license in cmt_license.txt "http://www.cecill.info".
    66#-----------------------------------------------------------
     
    1515   function cmt_default_path { d=`dirname ${CMTROOT}`; reply=(`dirname ${d}`) }; \
    1616   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 - \
    1820   'w[1,broadcast] S[-]' -k '(-begin=,-select=,-exclude=,-local,-global,-depth=)' - \
    19    'w[1,broadcast]' -c - \
     21   'w[1,broadcast],w[1,run]' -c - \
    2022   '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)' - \
    2123   'w[1,build] c[-1,constituent_makefile]' -K cmt_constituents - \
     
    4648   'c[-1,-requirements]' -f - \
    4749   'c[-1,co],c[-1,checkout]' -X 'give package name' - \
    48    --  cmt.exe
     50   --  + cmt.exe
Note: See TracChangeset for help on using the changeset viewer.