PDA

View Full Version : [ubuntu] Cannot set prompt - Ubuntu Server tcsh



protogenesis
July 5th, 2008, 06:19 AM
Recently installed the newest Ubuntu server edition. Strange thing, I cannot set a custom prompt no matter what shell I use. Currently running tcsh, no dice. Tried the standard setenv approach, this didn't work. Spent time searching the forums, other sites, using setenv, set. Nothing seems to change the standard prompt which is, of course, my hostname.

Did I miss something about how to set prompts in Linux? Was there a class I forgot to attend? 'setenv' works on my other linux boxes, but not the server side. Maybe it's my breath?

bab1
July 5th, 2008, 07:35 AM
Are you using .tcshrc to set the prompt? That file should be in your home directory. Same with bash. I use bash and set the prompt I want in .bashrc.

Google tcshrc or bashrc for more info

protogenesis
July 7th, 2008, 05:43 AM
Yep! Setting the .tcshrc in my $HOME as always. I try setting in in there, then from the command line, and nothing. Always stays the same (which is hostname:{pwd})

Also tried this in bash - ditto.

Am thinking Linux is starting to hate me?