Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

bug in 3.0.0?



ancho:~ % uname -a
SunOS ancho 5.5.1 Generic sun4m sparc SUNW,SPARCstation-20
ancho:~ % echo $ZSH_VERSION
3.0.0
ancho:~ % setopt
appendhistory
autocd
autolist
autoremoveslash
nobgnice
correct
extendedhistory
histignoredups
histnostore
nohup
interactive
monitor
numericglobsort
pushdtohome
rmstarsilent
shinstdin
zle
ancho:~ % . zt
zt: parse error near `}' [13]

[the file zt is included as an attachment]
if [[ -z $MAIL ]] {
    if [[ $OSTYPE = (ultrix4|osf)* ]] {
       export MAIL=/usr/spool/mail/$USER 
    } elif [[ $OSTYPE = hpux9* ]] {
       export MAIL=/usr/mail/$USER 
    } elif [[ $OSTYPE = solaris2* ]] {
       export MAIL=/var/mail/$USER 
    } elif [[ $OSTYPE = sunos4* ]] {
       export MAIL=/usr/spool/mail/$USER 
    } else {
       echo 'WARNING: $MAIL' "not set for $OSTYPE."
    }
}


Messages sorted by: Reverse Date, Date, Thread, Author