Date: Mon, 8 May 2000 19:11:21 -0700 (PDT) From: Ken Bolingbroke <hacker@bolingbroke.com> To: Freebsd Questions <freebsd-questions@FreeBSD.ORG> Cc: TymbrWlf <tymbrwlf@bellsouth.net> Subject: Re: Clear Screen Before Logout Message-ID: <Pine.BSF.4.21.0005081908130.537-100000@fremont.bolingbroke.com> In-Reply-To: <007301bfb959$c60864d0$0200a8c0@tymbrwlf>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 May 2000, TymbrWlf wrote: > Would there be a good way to set up an alias for that command under the csh > shell? If I put "alias cya clear ; logout" in my .cshrc file, I get put > into a login loop. How would I put multiple commands into an alias? (i.e. You'll want to quote the alias part, otherwise csh is interpreting the ';' as the end of your command statement, this "logout" becomes the next command statement, and it does exactly that. Ex: alias cya 'clear ; logout' Me, I just put 'clear' in my /etc/csh.logout file... Ken Bolingbroke hacker@bolingbroke.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005081908130.537-100000>