Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to understand zsh error while executing rake command

When I execute %rake college:create[demo], I get the following error,

zsh: no matches found: college:create[demo]

Anybody has a solution for this?

when I execute rake -T, this is what I get when as one of the lines of the output:

rake college:create[config_name]            # create a college profile

So, it is a valid command, but still zsh shows the error.

like image 245
aash Avatar asked Dec 13 '11 09:12

aash


2 Answers

Try with:

rake college:create\[demo\]
like image 72
KARASZI István Avatar answered Oct 03 '22 08:10

KARASZI István


You can also use noglob

noglob rake college:create[demo]

or just alias it in your .zshrc

alias rake='noglob rake'
like image 21
Mark S. Avatar answered Oct 03 '22 08:10

Mark S.