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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh: no matches found #433

Closed
rajbeniwal opened this issue Jun 15, 2011 · 28 comments

Comments

Projects
None yet
@rajbeniwal
Copy link

commented Jun 15, 2011

I got this message every time i ran my rake task.

zsh: no matches found: live:debug馃feature[features_file]

works fine in bash.

Any idea?

@nlemke

This comment has been minimized.

Copy link

commented Jul 24, 2011

I have the same issue when I use

rake new_post["whatever"]

on the octopress framework!
http://octopress.org/

@tyok

This comment has been minimized.

Copy link

commented Jul 28, 2011

Add alias rake='noglob rake' in your .zshrc. I found that out from here, because Google is my best friend.

@nlemke

This comment has been minimized.

Copy link

commented Jul 28, 2011

thank you! it works :/

@rajbeniwal

This comment has been minimized.

Copy link
Author

commented Jul 28, 2011

Thanx it works :-)

@juanpabloaj

This comment has been minimized.

Copy link

commented Dec 24, 2011

thanks

@massat

This comment has been minimized.

Copy link

commented Mar 23, 2012

thanx!!!

@sardaukar

This comment has been minimized.

Copy link

commented Nov 6, 2012

thanks!

@draffauf

This comment has been minimized.

Copy link

commented Jan 30, 2013

I was bitten by this one too. It pops back up when I try to run a rake task via foreman. For example, it happens on something like this:

foreman run -e .env, .env.development rake math:add[2,2,"easy"]

@allaire

This comment has been minimized.

Copy link

commented Mar 29, 2013

Use alias rake="noglob bundled_rake" if you're like me and are using the bundler plugin!

thanks

@RobotGetsBored

This comment has been minimized.

Copy link

commented Jun 13, 2013

I usually alias my rake command to use bundle exec, so I had to do: alias rake="noglob bundle exec rake".

@alexbeletsky

This comment has been minimized.

Copy link

commented Jul 4, 2013

@tyok thanks a lot for that tip, helped me!

@borysboyko

This comment has been minimized.

Copy link

commented Jul 10, 2013

@tyok Thank you, saved me some trouble just now! 馃憤

@trev

This comment has been minimized.

Copy link

commented Jul 22, 2013

馃憤

@kimohashem

This comment has been minimized.

Copy link

commented Oct 30, 2013

you can use

rake name_space:task_name[param]

@attilakreiner

This comment has been minimized.

Copy link

commented Dec 6, 2013

馃憤

@Catorpilor

This comment has been minimized.

Copy link

commented Feb 27, 2014

great thx

@mcornella

This comment has been minimized.

Copy link
Collaborator

commented Feb 28, 2014

This can be closed since a solution was found. Also, if you want you can add the plugin 'rake', which has these aliases, and it will be updated over time, instead of your own aliases in .zshrc.
CLOSABLE

@robbyrussell

This comment has been minimized.

Copy link
Owner

commented Mar 13, 2014

Closing per the advice of #2568.

@chrishough

This comment has been minimized.

Copy link

commented Mar 22, 2014

Perfect fix @allaire :: thank you 馃憤

@acrogenesis

This comment has been minimized.

Copy link

commented Dec 19, 2014

I get this error when running
heroku addons:add deployhooks:http --url=https://munett.slack.com/services/hooks/heroku?token=some-token it works ok on bash

@sadfuzzy

This comment has been minimized.

Copy link

commented Apr 1, 2015

thanks!

@kelabang

This comment has been minimized.

Copy link

commented Jun 12, 2016

wow, thats working.. thanks

@kanavmalhotra

This comment has been minimized.

Copy link

commented Nov 14, 2016

on executing below command:
nfs share -o anon=root,sec=sys,rw=,ro=@172.17.111.63 p-C163616-cli/f-C163616-cli
I get the following error:
zsh:1: no matches found: anon=root,sec=sys,rw=
,ro=@
pls help?

@mcornella

This comment has been minimized.

Copy link
Collaborator

commented Nov 14, 2016

@kanavmalhotra quote the arguments so that @ is not interpreted as a globbing character, which are used to pattern-match files.

nfs share -o "anon=root,sec=sys,rw=,ro=@172.17.111.63" p-C163616-cli/f-C163616-cli
@kajatiger

This comment has been minimized.

Copy link

commented Aug 1, 2017

When I run
bundle exec rake plugin:spec["discourse-sync-*"]
I get
zsh: no matches found: plugin:spec[discourse-sync-*]
although I added
alias rake="noglob bundle exec rake"

@jpcmf

This comment has been minimized.

Copy link

commented Feb 7, 2018

I love zsh, but im getting some ridiculous error and i don't know where and how fix it
When I run 鉃 ~ sudo apt-get remove --purge *mysql\*
zsh return zsh: no matches found: *mysql*

@mcornella

This comment has been minimized.

Copy link
Collaborator

commented Jun 16, 2018

@jpcmf quote the asterisks or zsh will try to expand the argument to files whose name contains mysql. Any parameter that contains *, ? or other globbing chars have to be quoted.

@rodnertj

This comment has been minimized.

Copy link

commented Oct 31, 2018

A little late, this worked for me, add this guy in the .zshrc:
unsetopt nomatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.