view .profile-zsh @ 178:51710c7c26c2

jdk 13 is superseeded by jdk 14, use the generic jdk 11 link
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 21 Jul 2020 09:15:13 +0200
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