changing history characters in csh

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Sat Sep 26 00:11:33 AEST 1981


>From cbosg!cbosgd!mark at Berkeley Fri Sep 25 23:57:09 1981
I've gotten a lot of requests for the method used to change your
history characters in csh.  Since it seems not to have made the
4.1BSD manual, let me mention briefly how it's done.  The default
characters are ! (for "get the history mechanism's attention") and
"^" (for substitute.)  To change them to, say, comma and semicolon, put
	unset histchars
	set histchars=',;'
in your .cshrc.  This does not affect the use of ^ to mean "first argument".
Note that if you have aliases with ! in them, it will be necessary to
change all the !'s to ,'s.



More information about the Comp.unix.wizards mailing list