# Remember what we like to be called in our prompt. We can freeze the # host name here, since a new shell will be spawned any time they change. # The variables "hostname" and "ident" are not special to the C shell. set hostname = "`uname -n`" set ident = "$hostname" # say where... # Here is a style of prompt that people like. This one adds # the current working directory path to the prompt, but that means # we must reset the prompt each time we change directories. alias setprompt 'set prompt="${ident}<$cwd> "' # If we're using setprompt, then we have to arrange to call it # every time the directory stack changes (and once at startup). alias cd 'cd \!* ; setprompt' setprompt # Miscellaneous aliases that most people seem to like: alias h history alias lo logout alias m more alias ls 'ls -F' alias rm 'rm -i' alias mv 'mv -i' alias cp 'cp -i' alias grep 'grep -i' alias cdl 'cd Lexical; ls' alias cdp 'cd Parser; ls' alias cdex 'cd Examples; ls'