Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The user is able to type [, ],or ? #194

Closed
wants to merge 1 commit into from
Closed

The user is able to type [, ],or ? #194

wants to merge 1 commit into from

Conversation

mike-burns
Copy link
Member

There are many workarounds to the

zsh: no matches found: ...

issue, but let's just stop it at its core: turn off that nomatch
functionality.

Apologies to all who enjoy seeing the pun around:

% got a light?
zsh: no matches found: light?

But all good shell puns must come to an end.

There are many workarounds[1] to the

    zsh: no matches found: ...

issue, but let's just stop it at its core: turn off that `nomatch`
functionality.

Apologies to all who enjoy seeing the pun around:

    % got a light?
    zsh: no matches found: light?

But all good shell puns[2] must come to an end.

[1] http://robots.thoughtbot.com/post/18129303042/how-to-use-arguments-in-a-rake-task
[2] http://www-users.cs.york.ac.uk/susan/joke/unix.htm
@jferris
Copy link
Member

jferris commented Sep 24, 2013

Does this disable anything, or just enable fallback behavior when there isn't a match?

@mike-burns
Copy link
Member Author

NOMATCH (-3)
    If a pattern for filename generation has no matches, print an error, instead of leaving it unchanged in the argument list. This also applies to file expansion of an initial ~ or =. 

From http://www.cs.elte.hu/zsh-manual/zsh_16.html

@jferris
Copy link
Member

jferris commented Sep 24, 2013

Cool. Looks good to me.

On Tuesday, September 24, 2013 at 10:09 AM, Mike Burns wrote:

NOMATCH (-3) If a pattern for filename generation has no matches, print an error, instead of leaving it unchanged in the argument list. This also applies to file expansion of an initial ~ or =.
From http://www.cs.elte.hu/zsh-manual/zsh_16.html


Reply to this email directly or view it on GitHub (#194 (comment)).

@mike-burns mike-burns closed this Oct 8, 2013
robwilliams added a commit to robwilliams/dotfiles that referenced this pull request Jun 24, 2014
lkorth added a commit to lkorth/dotfiles that referenced this pull request Jan 29, 2016
maxjacobson added a commit to maxjacobson/dotfiles that referenced this pull request May 24, 2016
without this, zsh errors when you try to run, eg:

rake my_great_task[my_great_arg]

Some additional context here:
thoughtbot/dotfiles#194
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants