zsh-users
 help / color / mirror / code / Atom feed
* Definition of a word
@ 1998-12-01 22:52 Ollivier Robert
  1998-12-02  0:11 ` Phil Pennock
  1998-12-02  0:56 ` Jan Kroken
  0 siblings, 2 replies; 5+ messages in thread
From: Ollivier Robert @ 1998-12-01 22:52 UTC (permalink / raw)
  To: zsh-users

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 :-(

<ESC><BS> is "backward-delete-word" in tcsh and "backward-kill-word" in zsh
BUT their notion of "word" is different.

Example:                                                                      

tcsh> ls -l /usr/local/bin                                                  
<ESC><BS>
tcsh> ls -l /usr/local/                                                       
<ESC><BS>
tcsh> ls -l /usr/                                                             

while in zsh, I get this... ("/" is not a word delimiter).

zsh> ls -l /usr/local/bin                                                     
<ESC><BS>
zsh> ls -l                                                                   

Last time I checked, bash 2.x was behaving like tcsh.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
Usenet Canal Historique


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-12-02  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-01 22:52 Definition of a word Ollivier Robert
1998-12-02  0:11 ` Phil Pennock
1998-12-02  0:56 ` Jan Kroken
1998-12-02  7:57   ` Thomas Köhler
1998-12-02  8:44     ` Peter Stephenson

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).