Enhancing the user experience with tcsh
Wojciech A. Koszek
wkoszek at freebsd.org
Fri Feb 10 17:32:52 UTC 2012
On Fri, Feb 10, 2012 at 05:53:09PM +0200, Volodymyr Kostyrko wrote:
> Eitan Adler wrote:
> > set filec
> > - set history = 100
> > - set savehist = 100
> > + set history = 10000
> > + set savehist = 10000
>
> Just why not (10000 merge)?
>
> > + set autolist
> > + # Use history to aid expansion
> > + set autoexpand
> > set mail = (/var/mail/$USER)
> > if ( $?tcsh ) then
> > bindkey "^W" backward-delete-word
> > bindkey -k up history-search-backward
> > bindkey -k down history-search-forward
> > endif
> > + set prompt = "[%n@%m]%c04%# "
> > + set promptchars = "%#"
> > endif
> >
>
> I'm fully against changing promptchars, that's pointless. Including more
> useful data in prompt is good anyway, but why any [] around? I think
> everything should be just a little more descriptive, like:
>
> set prompt = "%n@%m %c04%m%# "
Agreed. Try to make it as short as possible, but not shorter. Remember to
check whatever you've done on 80x25 screen. Eatting 25% of the width for the
prompt isn't practical.
--
Wojciech A. Koszek
wkoszek at FreeBSD.czest.pl
http://FreeBSD.czest.pl/~wkoszek/
More information about the freebsd-current
mailing list