annotate .profile-zsh @ 171:707364297b3a
Remove the checked in .hgignore to make space for a better approach
author |
Dirk Olmes <dirk.olmes@codedo.de> |
date |
Sat, 04 Apr 2020 04:05:37 +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
|