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

hmm, it works fine for me on FreeBSD, from my cshrc:

Code:
set prompt = "[%~]%# "  # Show current dir.
set promptchars="%#"    # Use % for normal user and # for super
The only difference I see it that I use double quotes (") for prompt and you use single quotes (').

Which version of tcsh are you using (tcsh --version)?

Also, why is "if ($?prompt) then" there? What is this supposed to do? Try removing it.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote