I have some questions about configuring the shell prompt. I have
created a normal user account and set it to use the csh shell. I have
the following in the .cshrc file.
...
if ($?prompt) then
# An interactive shell -- set some stuff up
set nobeep
set filec
set history = 1000
set ignoreeof
set mail = (/var/mail/$USER)
set u = `id -un`
set h = `hostname -s`
alias prompt 'set prompt = "[EMAIL PROTECTED] $cwd:t]% "'
...
The prompt looks like the following.
[EMAIL PROTECTED] phusion]%
There are a few things I would like to change though.
1) How can I get it to display the home directory as ~?
2) How can I get it to do filename completion using the tab key?
3) How can I get it to backspace when I mistype a filename incorrectly?
4) How can I get it to display previous commands using the up and down arrow?
Let me know how to do the following in the csh.
Phusion