Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 21:13:24 -0700
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        FreeBSD-current@freebsd.org
Subject:   Re: tcsh
Message-ID:  <20050429041323.GE24555@seven.alameda.net>
In-Reply-To: <20050428.212803.78072573.imp@bsdimp.com>
References:  <427196C0.5040506@chuckr.org> <42719BA0.5030901@samsco.org> <20050428.212803.78072573.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 28, 2005 at 09:28:03PM -0600, M. Warner Losh wrote:
> In message: <42719BA0.5030901@samsco.org>
>             Scott Long <scottl@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050429041323.GE24555>