Make & .cshrc

Karl Kleinpaste karl at triceratops.cis.ohio-state.edu
Tue Sep 13 02:04:19 AEST 1988


fox at marlow.uucp writes:
   Is this a problem with the System 5 make ? 

No, it's a problem in your setting of $prompt.  You should set prompt
iff there already exists a prompt, i.e.,
	if ($?prompt) then
		alias cd 'chdir \!*; set prompt="$cwd> "'
	endif

Otherwise, you're unconditionally introducing a prompt into a context
where none should exist.  (And didn't exist, since csh knew whether it
was running interactively from a tty, and sets prompt only if so.)

--Karl



More information about the Comp.unix.wizards mailing list