18 lines
286 B
Plaintext
18 lines
286 B
Plaintext
|
# ~/.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
|