annotate .profile-zsh @ 160:c35d56590441
add the two helper scripts for gentoo that are requied on all hosts
author |
Dirk Olmes <dirk@xanthippe.ping.de> |
date |
Mon, 23 Dec 2019 11:41:35 +0100 |
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
|