How to redefine prompt - Thanks for the solutions!

SQUID 6 on the DARK side hooverm at sysjj.mdcbbs.com
Fri Nov 2 20:59:15 AEST 1990


Thanks to Roland (magnificat.cpat.umich.edu.roland) for the solution to
my problem.

Here's a hacked version of what he sent me.

=======================================

# Mark's .cshrc
if (${?prompt}) then
    set host=`hostname`
    set prompt="! ${host}> $cwd % "
endif
alias cd 'chdir \!* ; set prompt = "! ${host}> $cwd % "'
alias pd 'pushd !\* ; set prompt = "! ${host}> $cwd % "'
alias ud 'popd !\* ; set prompt = "! ${host}> $cwd % "'



More information about the Comp.unix.questions mailing list