# HG changeset patch # User Dirk Olmes # Date 1576300647 -3600 # Node ID d0cdc3f47182af7ef18afc5a8b741050a28ee624 # Parent 08620c68ca557d06dd09cbc45f4317445a2a8687 oops we already had a zsh enabling .profile diff -r 08620c68ca55 -r d0cdc3f47182 .profile-zsh --- a/.profile-zsh Sat Dec 14 06:13:05 2019 +0100 +++ b/.profile-zsh Sat Dec 14 06:17:27 2019 +0100 @@ -1,4 +1,8 @@ +# +# Use this as .profile on systems where the default shell cannot be changed to zsh +# if [ ! -z "$SSH_TTY" ]; then + # this is an interactive shell, replace the current shell with a zsh if [ -f /bin/zsh ]; then export SHELL=/bin/zsh exec /bin/zsh -l diff -r 08620c68ca55 -r d0cdc3f47182 profile --- a/profile Sat Dec 14 06:13:05 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -# -# Use this as .profile on systems where the default shell cannot be changed to zsh -# -if [ ! -z "$SSH_TTY" ]; then - # this is an interactive shell, replace the current shell with a zsh - if [ -f /bin/zsh ]; then - export SHELL=/bin/zsh - exec /bin/zsh -l - fi -fi