Permalink
Browse files

Add few lines about passing arguments for zsh users (issue #44)

  • Loading branch information...
1 parent e9dc509 commit 8d936fe00905f2b7332efe23bc3bf6ff624eedfc @alexstrat alexstrat committed Nov 8, 2011
Showing with 8 additions and 4 deletions.
  1. +8 −4 README.md
View
@@ -166,10 +166,6 @@ You could run `jake` like this:
jake awesome[foo,bar,baz]
-Note that zsh users will need to escape the brackets or wrap in single quotes like this:
-
- jake 'awesome[foo,bar,baz]'
-
And you'd get the following output:
foo bar baz
@@ -196,6 +192,14 @@ And you'd get the following output:
zoobie asdf
Running `jake` with no arguments runs the default task.
+__Note for zsh users__ : you will need to escape the brackets or wrap in single quotes like this to pass parameters :
+
+ jake 'awesome[foo,bar,baz]'
+
+An other solution is to desactivate permannently file-globbing for the `jake` command. You can do this by adding this line to your `.zshrc` file :
+
+ alias jake="noglob jake"
+
### Running tasks from within other tasks
Jake supports the ability to run a task from within another task via the `invoke` and `execute` methods.

0 comments on commit 8d936fe

Please sign in to comment.