> case $- in > *i*) ishlvl=$(($ishlvl+1));; > esac
Except zsh doesn't allow you to do fancy stuff with $ishlvl that you can do with $SHLVL, simply because the former is non-standard. Anyway, I am not sure at this moment whether my patch is actually the right thing to do, so give me a few days to make sure it is actually doing the right thing. I am now starting to think that a terminal emulator should always start shells with SHLVL=0... -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)