Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Definition of a word
- X-seq: zsh-users 1947
- From: Phil Pennock <phil@xxxxxxxxxxxxxxxxxxxxx>
- To: Ollivier Robert <roberto@xxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Definition of a word
- Date: Wed, 2 Dec 1998 00:11:05 +0000
- In-reply-to: <19981201235205.A19807@xxxxxxxxxxxxxxxxx>; from "Ollivier Robert" on Tue 1 Dec 1998 (23:52 +0100)
- Mail-followup-to: Ollivier Robert <roberto@xxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Organisation: Organisation? Here? No, over there ---->
- References: <19981201235205.A19807@xxxxxxxxxxxxxxxxx>
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 <ESC><BS> to delete part of a path because the whole path is
> destroyed :-(
Change the WORDCHARS variable, documented in zshparam(1).
WORDCHARS <S>
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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author