zsh-users
 help / color / mirror / code / Atom feed
* Re: bug report about zsh
       [not found] <CAJbOvNxbshEc=YMe5BKUYfM7k3BGfWh=z8Jw7Acw5GnWRuTw_w@mail.gmail.com>
@ 2018-08-20 13:00 ` Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2018-08-20 13:00 UTC (permalink / raw)
  To: air azure, zsh-users

air azure wrote on Mon, 20 Aug 2018 09:56 +0800:
> sshfs xxxx@[yyyy:yy::yy]:/zzz ~/remote
> 
> zsh report back
> zsh: no matches found: xxxx@[yyyy:yy::yy]:/zzz

That's not a bug.  Square brackets are globbing syntax:

% touch a b c d e f
% ls -1 [a-c]
a
b
c
% 

You should just quote or escape the square brackets.  (There _is_
`unsetopt NO_MATCH` but it's not recommended because it's basically an
opt-in to unpredictable/ambiguous parsing.)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-20 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJbOvNxbshEc=YMe5BKUYfM7k3BGfWh=z8Jw7Acw5GnWRuTw_w@mail.gmail.com>
2018-08-20 13:00 ` bug report about zsh Daniel Shahaf

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