comparison .profile-zsh @ 158:08620c68ca55

add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 14 Dec 2019 06:13:05 +0100
parents
children
comparison
equal deleted inserted replaced
157:ca7dbc6c6aae 158:08620c68ca55
1 if [ ! -z "$SSH_TTY" ]; then
2 if [ -f /bin/zsh ]; then
3 export SHELL=/bin/zsh
4 exec /bin/zsh -l
5 fi
6 fi