The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: csh - pwd
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-03-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Put the following (or something like it) in your .cshrc
alias cd 'cd \!*;set prompt="[`hostname`]$cwd :" '

As far as color, do a search on this site for prompt AND color. This has been answered before and you should be able to get one of them to work.