Mercurial > hg > zsh-env
view .profile-zsh @ 160:c35d56590441
add the two helper scripts for gentoo that are requied on all hosts
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 23 Dec 2019 11:41:35 +0100 |
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