zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Tobias <tobias.basteiro@openenglish.com>, zsh-workers@zsh.org
Subject: Re: ZSH Shell support - Bug with a special character
Date: Fri, 28 Feb 2014 18:37:54 +0000	[thread overview]
Message-ID: <20140228183754.5d959065@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <5310C0BE.1010608@openenglish.com>

On Fri, 28 Feb 2014 14:00:46 -0300
Tobias <tobias.basteiro@openenglish.com> wrote:
> I'm just trying to run this script:
>      git reset HEAD^
> I'm using git to try to reset the code to a branch behind and zsh 
> returns this message:
>      zsh: no matches found: HEAD^

You have the EXTENDED_GLOB option set, in which ^ is a special
character.

If you don't need it, simply remove it from the start up file where it's
turned on or add "unsetopt EXTENDED_GLOB" after whatever code is setting
it.

If you do need EXTENDED_GLOB for other purposes but don't need that
particular syntax, and you have the latest version of zsh, you can turn
off that pattern character,

disable -p '^'

pws


  reply	other threads:[~2014-02-28 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 17:00 Tobias
2014-02-28 18:37 ` Peter Stephenson [this message]
2014-02-28 19:54   ` Frank Terbeck
2014-02-28 21:18     ` Mikael Magnusson
2014-03-01  0:06       ` Aaron Schrab

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=20140228183754.5d959065@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=tobias.basteiro@openenglish.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).