From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22933 invoked from network); 2 Dec 1998 00:08:31 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 2 Dec 1998 00:08:31 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id TAA01816; Tue, 1 Dec 1998 19:07:31 -0500 (EST) Resent-Date: Tue, 1 Dec 1998 19:07:26 -0500 (EST) Message-ID: <19981202001105.61456@athenaeum.demon.co.uk> Date: Wed, 2 Dec 1998 00:11:05 +0000 From: Phil Pennock To: Ollivier Robert , zsh-users@math.gatech.edu Subject: Re: Definition of a word Mail-Followup-To: Ollivier Robert , zsh-users@math.gatech.edu References: <19981201235205.A19807@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <19981201235205.A19807@keltia.freenix.fr>; from "Ollivier Robert" on Tue 1 Dec 1998 (23:52 +0100) Organisation: Organisation? Here? No, over there ----> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. X-Phase-of-Moon: The Moon is Waxing Gibbous (96% of Full) Resent-Message-ID: <"Z25761.0.mR.zI8Ps"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1947 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Typing away merrily, Ollivier Robert produced the immortal words: > Is there a way to refine what zsh think of as a "word" ? It seems that a > word is "anything other than whitespace" which gets really annoying when > one use to delete part of a path because the whole path is > destroyed :-( Change the WORDCHARS variable, documented in zshparam(1). WORDCHARS A list of non-alphanumeric characters considered part of a word by the line editor. Default is: WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>' Change this in your .zshrc to the equivalent, without the '/' in there. Perhaps the 'emulate' command should also change WORDCHARS accordingly? -- --> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?