view profile @ 128:129d5bcd9814

add zsh modules for inclusion
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 16 Feb 2018 08:48:05 +0100
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