5 ms·
>want more indications that I'm remote vs local. This may be of use to you or someone else reading the thread. You can set your bash prompt to show user@host w
by exq 1y ago
>want more indications that I'm remote vs local.
This may be of use to you or someone else reading the thread. You can set your bash prompt to show user@host when connected via SSH:
if [ -n "$SSH_CONNECTION" ]; then
export PS1="\u@h:\w$ "
fi