Changeset 584 for CMT/HEAD


Ignore:
Timestamp:
Jun 30, 2011, 11:24:14 AM (13 years ago)
Author:
rybkin
Message:

See C.L. 462

Location:
CMT/HEAD
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r583 r584  
     12011-06-27    <rybkin@lal.in2p3.fr> 462
     2
     3        * src/setup.zsh: Do not execute if zsh is invoked in other shell (e.g.,
     4        sh, ksh) compatibility mode
     5        * src/setup.sh: Do not test for zsh with string leading to syntax error
     6        in other shells (as POSIX conformant non-interactive shell exits, case
     7        with BASH versions > 4), define command completions for interactive shell
     8        only
     9        * src/setup.csh: Define command completions for interactive shell only
     10       
    1112011-06-22    <rybkin@lal.in2p3.fr> 461
    212
  • CMT/HEAD/src/setup.csh

    r583 r584  
    1111endif
    1212
     13if ( $?0 == 0 ) then
    1314if ( $?tcsh == 1 || `basename "$shell"` == "tcsh" ) then
    1415  source ${CMTROOT}/src/setup.tcsh
     16endif
    1517endif
    1618
  • CMT/HEAD/src/setup.sh

    r550 r584  
    1111fi
    1212
    13 
    14 eval function b {} 1>/dev/null 2>&1
    15 if test "$?" = "0"; then
    16 . ${CMTROOT}/src/setup.zsh
     13if [ `expr $- : '.*i'` -ne 0 ]; then
     14if [ -n "${ZSH_NAME-}" ]; then
     15  . ${CMTROOT}/src/setup.zsh
     16fi
    1717fi
    1818
  • CMT/HEAD/src/setup.zsh

    r583 r584  
    55# See the complete license in cmt_license.txt "http://www.cecill.info".
    66#-----------------------------------------------------------
     7
     8[ -z "${ARGC-}" ] && return
    79
    810function cmt_macros { reply=(`cmt -quiet show macro_names`)}; \
Note: See TracChangeset for help on using the changeset viewer.