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.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to