zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Pedro Geadas <pedro.geadas@weareblueorange.com>, <zsh-workers@zsh.org>
Subject: Re: Bug with helm command
Date: Fri, 7 Jun 2019 09:39:52 +0100	[thread overview]
Message-ID: <1559896792.5169.4.camel@samsung.com> (raw)
In-Reply-To: <CAAm=r-uLgJ+Dg4Zori-4boRAVvt-9qy5_5Jj85E13i6OMgE-+A@mail.gmail.com>

On Thu, 2019-06-06 at 14:05 +0200, Pedro Geadas wrote:
> Using helm, when trying to access an array *"--set-string
> array[0].image.tag=test"*, I get this error:
> *"zsh: no matches found: --set-string array[0].image.tag=test"* but
> if I run the same command from bash, it works as expected.

This is normal zsh behaviour --- it does not behave like bash in many
ways by default.

In this case, the default is to report an error if you use pattern
matching characters but no pattern matched.  The obvious change is
to add

setopt nonomatch

to your ~/.zshrc.  See the manual for more information: possibly the
most useful section is near the top of FILENAME GENERATION in the
zshexpn manual. although you can see a full list of options in the
zshoptions manual.  There's a slightly friendlier discussion of that and
related options in the online user guide, somewhere aroun

http://zsh.sourceforge.net/Guide/zshguide02.html#l15

pws



      reply	other threads:[~2019-06-07  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20190607031422epcas2p2bebd6e86b67c773d830e766a4b45d6de@epcas2p2.samsung.com>
2019-06-06 12:05 ` Pedro Geadas
2019-06-07  8:39   ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1559896792.5169.4.camel@samsung.com \
    --to=p.stephenson@samsung.com \
    --cc=pedro.geadas@weareblueorange.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).