view .profile-zsh @ 183:249b37a8c917

Fix fuer Kernel Versionen mit Revision
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 22 Dec 2020 12:03:22 +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