:On Tue, Jan 09, 2001 at 09:45:14AM -0800, Archie Cobbs wrote:
:
:> +    if ( `basename $SHELL` == "tcsh" ) then
:> +            bindkey ^W backward-delete-word
:> +    endif
:
:I generally test for tcsh like this:
:
:       if ( $?tcsh ) then
:               bindkey ^W backward-delete-word
:       endif
:
:-- 
:Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology

    How about this:

    if ( $?tcsh ) then
        bindkey "^W" backward-delete-word
        bindkey -k up history-search-backward
        bindkey -k down history-search-forward
    endif

For personal use I also do (for tcsh):

    set prompt = "%m:%/%# "

But the Amiga-style integrated history search is the feature I use the
most.   Having a multi-thousand line history actually becomes useful.

                                        -Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to