How to show current filesystem path ?

Hello All,

I'm wondering how to show the current location Im in while browsing the filesystem ?

Currently when I log in it displays a %, I would like it say something like /home/user1% and then change to whichever folder im in.

-Thanks
 
Here's my prompt for (t)csh:
Code:
set prompt = "%n@%m:%~%#"

Code:
%n = username
%m = hostname
%~ = current directory, shows ~ when in $HOME
%# = shows % for normal users, # when root

See csh(1) for more of the % variables you can use.
 
Back
Top