Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#478019: zsh: Should handle non-breaking space as word separator
- X-seq: zsh-workers 24870
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#478019: zsh: Should handle non-breaking space as word separator
- Date: Sat, 26 Apr 2008 16:05:48 +0100
- Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, 478019@xxxxxxxxxxxxxxx
- In-reply-to: <20080426110003.GA16650@implementation>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, 478019@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080426110003.GA16650@implementation>
On Sat, Apr 26, 2008 at 12:00:03PM +0100, Samuel Thibault wrote:
> Hello,
>
> On a french keyboard, '|' is typed by using alt-gr, and the non-breaking
> space is often typed by using alt-gr space. That often leads to this:
>
> € echo a | grep a
> zsh: command not found: grep
>
> Because zsh looks for a " grep" command, with leading non-breaking space
> because my thumb remained a bit too long on the alt-gr key.
>
> This doesn't happen with bash, because bash treats non-breaking space as
> a word separator. Could zsh do the same? (currently, I have defined
> alias grep=grep
> alias vi=vi
> ...)
Having locale-based (and multibyte) word separators sounds like a nightmare
to me, but maybe someone has some ideas.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author