annotate .profile-zsh @ 174:5da4de3d7ee1
remove files from /var/tmp/genkernel and /lib/modules, too
author |
Dirk Olmes <dirk.olmes@codedo.de> |
date |
Thu, 09 Apr 2020 11:21:59 +0200 |
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
|