Mercurial > hg > zsh-env
view profile @ 122:469f954e86c8
add an alias for nano
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 23 May 2017 17:27:29 +0200 |
parents | a7654f2b4170 |
children |
line wrap: on
line source
# # 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