Mercurial > hg > zsh-env
view .profile-zsh @ 163:201c8ca43ab1
reset the environment for a proper 24 hour display of time
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 17 Jan 2020 15:29:03 +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