From: Phil Pennock <phil@athenaeum.demon.co.uk>
To: Ollivier Robert <roberto@keltia.freenix.fr>, zsh-users@math.gatech.edu
Subject: Re: Definition of a word
Date: Wed, 2 Dec 1998 00:11:05 +0000 [thread overview]
Message-ID: <19981202001105.61456@athenaeum.demon.co.uk> (raw)
In-Reply-To: <19981201235205.A19807@keltia.freenix.fr>; from "Ollivier Robert" on Tue 1 Dec 1998 (23:52 +0100)
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?
next prev parent reply other threads:[~1998-12-02 0:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-01 22:52 Ollivier Robert
1998-12-02 0:11 ` Phil Pennock [this message]
1998-12-02 0:56 ` Jan Kroken
1998-12-02 7:57 ` Thomas Köhler
1998-12-02 8:44 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19981202001105.61456@athenaeum.demon.co.uk \
--to=phil@athenaeum.demon.co.uk \
--cc=roberto@keltia.freenix.fr \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).