Re: Enhancing the user experience with tcsh

From: Wojciech A. Koszek <wkoszek_at_freebsd.org>
Date: Fri, 10 Feb 2012 17:29:36 +0000
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_at_%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_at_%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/
Received on Fri Feb 10 2012 - 16:32:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC