讓 shell 在 SSH 登入時換個顏色區分, 避免 SSH login 遠端時, 因為 hostname 長得太像而將指令下在錯誤的 shell.
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
# Change shell color
fi
bash
Linux
Written on
October
1st
,
2021
by
Borting