On 01/23/2013 07:50 AM, Reindl Harald wrote:
Am 23.01.2013 13:43, schrieb Bob Goodwin - Zuni:
Is there a scheme for changing terminal background color
automatically for ssh? It would be convenient to have a warning that
I was typing a command into other than this computer. I try to keep
track of where I am but don't always which can lead to confusion or
worse.
[root@srv-rhsoft:~]$ cat /root/.bashrc
# .bashrc
PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\]
and the command prompt will be red
This runs but I see no color change?
# .bash
# /home/bobg/sshcolor
PS1="\[\033[1;31m\][\u@\h:\w]$\[\033[0m\]"
Thanks,
Bob
--
http://www.qrz.com/db/W2BOD
box9
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org