annotate .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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
158
08620c68ca55 add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 if [ ! -z "$SSH_TTY" ]; then
08620c68ca55 add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 if [ -f /bin/zsh ]; then
08620c68ca55 add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 export SHELL=/bin/zsh
08620c68ca55 add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 exec /bin/zsh -l
08620c68ca55 add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 fi
08620c68ca55 add a default .profile which runs a zsh. This comes in handy on systems where you cannot chsh
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 fi