LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-21-2008, 02:34 AM   #1
poriajay
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Terminal prompt goes away


Hi,
I am using linux for last 1 year and I am end user.
Previously in my cshrc I used to set my prompt like,

set prompt="\n%{\033[31m%]%B[%n@%m:%/]\n$% %b{\033[0m%]"
This sets my prompt in red color like this,

[poriajay@local-host:/users/jporia/Desktop/]
%

Now I have copied some .cshrc file and I have copied above prompt to new .cshrc.

The problem I am facing is, it shows me the CWD in red color but when ever I change my dir. the prompt goes away and normal prompt comes in.

Please tell me what is wrong in my .chsrc

Thanks and regards,
Jay
 
Old 05-21-2008, 08:53 PM   #2
helgiks
LQ Newbie
 
Registered: May 2008
Posts: 13

Rep: Reputation: 0
Type "echo $PS1", change the directory and type it again, and post the result. See if it is different.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cant get Terminal Prompt binay_gupta Linux - General 1 08-19-2006 07:18 AM
Terminal Prompt Problem kissme1 Linux - Newbie 12 07-07-2006 04:45 AM
How can I change the terminal prompt? ICO Slackware 4 02-15-2004 08:09 AM
no prompt in terminal xyfan Linux - Newbie 1 12-05-2003 11:25 PM
terminal with no prompt fletch88 Red Hat 0 11-17-2003 12:45 AM


All times are GMT -5. The time now is 07:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration