Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!sysjj.mdcbbs.com!hooverm From: hooverm@sysjj.mdcbbs.com (SQUID 6 on the DARK side) Newsgroups: comp.unix.questions Subject: Re: How to redefine prompt - Thanks for the solutions! Message-ID: <1990Nov2.095915.1@sysjj.mdcbbs.com> Date: 2 Nov 90 09:59:15 GMT Organization: McDonnell Douglas M&E, Cypress CA Lines: 15 Nntp-Posting-Host: sldev1 Nntp-Posting-User: halloran 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 % "'