View Single Post
  #8   (View Single Post)  
Old 24th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Yes, you can use % pwd to check which directory you're in:
Code:
% cd /usr/ports/
% pwd
/usr/ports
You can add this to your ~/.tcshrc to show the current directory in the prompt:
Code:
set prompt = "[%~]%% "  # Show current dir.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote