Enhancing the user experience with tcsh

Volodymyr Kostyrko c.kworr at gmail.com
Fri Feb 10 15:53:15 UTC 2012


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%# "

-- 
Sphinx of black quartz judge my vow.


More information about the freebsd-current mailing list