Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
f7c24e18
Commit
f7c24e18
authored
Sep 19, 2015
by
Robby Russell
Browse files
Merge pull request #4137 from troter/coffee-first-argument-with-double-quote
coffee: protect args with double-quote
parents
544eccb5
1e8196de
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/coffee/coffee.plugin.zsh
View file @
f7c24e18
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
# compile a string of coffeescript and print to output
# compile a string of coffeescript and print to output
cf
()
{
cf
()
{
coffee
-peb
$1
coffee
-peb
"
$1
"
}
}
# compile & copy to clipboard
# compile & copy to clipboard
cfc
()
{
cfc
()
{
cf
$1
| pbcopy
cf
"
$1
"
| pbcopy
}
}
# compile from pasteboard & print
# compile from pasteboard & print
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment