cellinfo
/
puppet-root
Archived
2
0
Fork 0
This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
puppet-root/templates/preferences/profile.erb

18 lines
286 B
Plaintext
Raw Normal View History

2016-11-28 11:01:55 +01:00
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
ZSH_IP="(129.20.79.141|129.20.79.142)"
if [ "$(echo "${SSH_CLIENT}" | grep -E "${ZSH_IP}")" ]; then
printf '%b' "Launch ZSH\n"
exec zsh
fi
mesg n