tcsh
Ulf Zimmermann
ulf at Alameda.net
Thu Apr 28 21:13:26 PDT 2005
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
More information about the freebsd-current
mailing list