mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-19 21:31:37 +00:00
6 lines
No EOL
174 B
Bash
6 lines
No EOL
174 B
Bash
if [ -n "$PS1" ] && ( [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] ); then
|
|
tput tsl > /dev/null
|
|
if [ "$?" -eq 0 ]; then
|
|
echo `tput tsl` `whoami`@`hostname` `tput fsl`
|
|
fi
|
|
fi |