1e8196de8289a69268a9631ddf4d3b3519ade5c1
- Author
- Takumi IINO <trot.thunder@gmail.com>
- Committer
- Takumi IINO <trot.thunder@gmail.com>
- Date
Message
passing the first argument with double quote
Diff
1diff --git a/plugins/coffee/coffee.plugin.zsh b/plugins/coffee/coffee.plugin.zsh
2index 1a7bedd87fe9426f18c00e9f99bbc269a194406d..4e98e022869ea8b968ab4f3598f904bb51ff27d8 100644
3--- a/plugins/coffee/coffee.plugin.zsh
4+++ b/plugins/coffee/coffee.plugin.zsh
5@@ -2,11 +2,11 @@
6
7 # compile a string of coffeescript and print to output
8 cf () {
9- coffee -peb $1
10+ coffee -peb "$1"
11 }
12 # compile & copy to clipboard
13 cfc () {
14- cf $1 | pbcopy
15+ cf "$1" | pbcopy
16 }
17
18 # compile from pasteboard & print