Re: Enhancing the user experience with tcsh

From: Joel Dahl <joel_at_freebsd.org>
Date: Sat, 11 Feb 2012 09:07:31 +0100
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:

Index: dot.cshrc
===================================================================
--- dot.cshrc   (revision 231507)
+++ dot.cshrc   (working copy)
_at__at_ -24,8 +24,10 _at__at_
        # 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.

-- 
Joel
Received on Sat Feb 11 2012 - 07:19:58 UTC

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