Re: tcsh

From: Ulf Zimmermann <ulf_at_Alameda.net>
Date: Thu, 28 Apr 2005 21:13:24 -0700
On Thu, Apr 28, 2005 at 09:28:03PM -0600, M. Warner Losh wrote:
> In message: <42719BA0.5030901_at_samsco.org>
>             Scott Long <scottl_at_samsco.org> writes:
> : Why does 'cd' have to be aliased?
> 
> It doesn't.  In historical csh implementations (eg, sunos 4, 4.2 or
> 4.3 BSD) needed to alias cd to get the prompt set, but tcsh has indeed
> obviated that need, with all the benefits that you describe.
> 
> Warner

I got two standard settings for tcsh:

Depended on the TERM set:

   alias precmd 'echo -n "^[]2;$HOST^G"'

And prompt:

set prompt = '%B%m%b %n %C3 %# '

I do put the user in because of using more then myself and root.

-- 
Regards, Ulf.

---------------------------------------------------------------------
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204
You can find my resume at: http://seven.Alameda.net/~ulf/resume.html
Received on Fri Apr 29 2005 - 02:13:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:33 UTC