The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 09-26-2007
HybridLogic HybridLogic is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 2
Quote:
Originally Posted by reborg View Post
It makes a big differnce whether you are using csh or tcsh.

Please post the output of "echo $0" ( without quotes )
Looks like tcsh. I didn't have a .tcshrc file, but I made one by copying my .cshrc file.

%c[[0]n], %.[[0]n] didn't help much (I just got the current dir followed by all the extra syntax as a static) but the HOWTO: Change your Shell Prompt really helped with that table at the bottom.

%~ seems to be exactly what I wanted. Thanks all.

Last edited by HybridLogic; 09-26-2007 at 09:25 PM..