diff options
| author | Takumi IINO <trot.thunder@gmail.com> | 2015-07-08 11:16:44 +0900 |
|---|---|---|
| committer | Takumi IINO <trot.thunder@gmail.com> | 2015-07-08 11:16:44 +0900 |
| commit | 1e8196de8289a69268a9631ddf4d3b3519ade5c1 (patch) | |
| tree | 7aa44954bef125292641beed1099bd37563d112c /plugins/coffee | |
| parent | 3ea33841863c4f5f22a27e64ae7950d901b674af (diff) | |
| download | zsh-1e8196de8289a69268a9631ddf4d3b3519ade5c1.tar.gz zsh-1e8196de8289a69268a9631ddf4d3b3519ade5c1.tar.bz2 zsh-1e8196de8289a69268a9631ddf4d3b3519ade5c1.zip | |
passing the first argument with double quote
Diffstat (limited to 'plugins/coffee')
| -rw-r--r-- | plugins/coffee/coffee.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/coffee/coffee.plugin.zsh b/plugins/coffee/coffee.plugin.zsh index 1a7bedd87..4e98e0228 100644 --- a/plugins/coffee/coffee.plugin.zsh +++ b/plugins/coffee/coffee.plugin.zsh @@ -2,11 +2,11 @@ # compile a string of coffeescript and print to output cf () { - coffee -peb $1 + coffee -peb "$1" } # compile & copy to clipboard cfc () { - cf $1 | pbcopy + cf "$1" | pbcopy } # compile from pasteboard & print |
