Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Certain unicode in hostname breaks with zsh 4.3.17



On 11 March 2012 22:19, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Mar 11,  8:20pm, Mikael Magnusson wrote:
> }
> } Regardless of how the data is encoded, shouldn't zsh not be trying to
> } interpret the value of $HOST as a pattern?
>
> Depends on context, which the OP didn't provide.  He must be doing
> something with $HOST or $(hostname) -- using it in a conditional
> expression maybe?

% su
# hostname れにな
# exit
% zsh -f
れにな% echo $HOST
zsh: no matches found: \M-c\M-^B|にな
れにな% typeset HOST
HOST=ãにな
れにな% vared HOST
れにな
れにな% echo $HOST
れにな

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author