annotate .profile-zsh @ 165:6dd02b1ebb80
use java-config again for selecting JDKs
author |
Dirk Olmes <dirk.olmes@codedo.de> |
date |
Wed, 19 Feb 2020 08:20:33 +0100 (2020-02-19) |
parents |
d0cdc3f47182 |
children |
|
rev |
line source |
105
|
1 #
|
|
2 # Use this as .profile on systems where the default shell cannot be changed to zsh
|
|
3 #
|
|
4 if [ ! -z "$SSH_TTY" ]; then
|
|
5 # this is an interactive shell, replace the current shell with a zsh
|
|
6 if [ -f /bin/zsh ]; then
|
|
7 export SHELL=/bin/zsh
|
|
8 exec /bin/zsh -l
|
|
9 fi
|
|
10 fi
|