Mercurial > hg > zsh-env
view profile @ 116:ebee1c499f19
add the global nodejs install dir to the PATH
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 25 Jan 2017 08:20:46 +0100 |
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