Mercurial > hg > zsh-env
view .profile-zsh @ 174:5da4de3d7ee1
remove files from /var/tmp/genkernel and /lib/modules, too
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Thu, 09 Apr 2020 11:21:59 +0200 |
parents | d0cdc3f47182 |
children |
line wrap: on
line source
# # Use this as .profile on systems where the default shell cannot be changed to zsh # if [ ! -z "$SSH_TTY" ]; then # this is an interactive shell, replace the current shell with a zsh if [ -f /bin/zsh ]; then export SHELL=/bin/zsh exec /bin/zsh -l fi fi