view profile @ 139:d683d08cf8e0

Automated merge with https://localhost/hg/zsh-env
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 04 Jul 2018 17:03:00 +0200
parents a7654f2b4170
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