3 ms·
I have this set in my .bashrc: function settitle { echo -en "\e]0; $* \a" } function ssh { settitle ssh $* echo
by lukeschlather 16y ago
I have this set in my .bashrc:
function settitle {
echo -en "\e]0; $* \a"
}
function ssh {
settitle ssh $*
echo /usr/bin/ssh $*
/usr/bin/ssh $*
}
function sftp {
settitle sftp $*
echo /usr/bin/ssh $*
/usr/bin/sftp $*
}
No, it's not bright and colorful, but it does a good job of telling me where the gnome-terminal I'm using is connected to.