Enhancing the user experience with tcsh
Julian Elischer
julian at freebsd.org
Sun Feb 12 01:10:27 UTC 2012
On 2/11/12 12:07 AM, Joel Dahl wrote:
> On 10-02-2012 9:03, Eitan Adler wrote:
>> Picking a random person to reply to.
>>
>> There are a lot of good suggestions in this thread, but can we please
>> remember a few things:
>>
>> - Users can always add their own ~/.cshrc
>> - Many users will get annoyed by what is someone else's amazing setup
> With the above in mind, I suggest we change as little as possible from what
> we have today (for now) and that we do improvements in small steps.
>
> I believe 99.99% of all users would find the change below to be a definite
> improvement over the current default values in .cshrc:
>
Put lots of stuff in there
and disable them by default
> Index: dot.cshrc
> ===================================================================
> --- dot.cshrc (revision 231507)
> +++ dot.cshrc (working copy)
> @@ -24,8 +24,10 @@
> # An interactive shell -- set some stuff up
> set prompt = "`/bin/hostname -s`# "
> set filec
> - set history = 100
> - set savehist = 100
> + set history = 1000
> + set savehist = (1000 merge)
> + set autolist
> + set autoexpand
> set mail = (/var/mail/$USER)
> if ( $?tcsh ) then
> bindkey "^W" backward-delete-word
>
> Also, a comment pointing to /usr/share/examples/tcsh/complete.tcsh would
> be a nice addition to the default .cshrc.
>
More information about the freebsd-current
mailing list