prompt changing on the fly

John Carey john at moncskermit.oz
Wed Jan 21 15:11:33 AEST 1987


Here is an alias for csh which replaces cd to change the prompt
when moving directories

The only problem I have found is that it must have an argument

	alias nd cd \!\$\;set prompt=\`pwd\`\' \'

I hope some else can suggest a more elegant solution for csh

						John Carey.

						john%monu1.oz at seismo.ARPA



More information about the Comp.unix.wizards mailing list