Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2001 12:48:58 -0500
From:      Jon Parise <jon@csh.rit.edu>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: proposed small change to .cshrc
Message-ID:  <20010109124858.E23533@csh.rit.edu>
In-Reply-To: <200101091745.f09HjEB51427@curve.dellroad.org>; from archie@dellroad.org on Tue, Jan 09, 2001 at 09:45:14AM -0800
References:  <200101091745.f09HjEB51427@curve.dellroad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010109124858.E23533>