initial
This commit is contained in:
parent
d67e39f3f7
commit
58ef6d327f
1725 changed files with 129819 additions and 0 deletions
16
dot_oh-my-zsh/plugins/coffee/coffee.plugin.zsh
Normal file
16
dot_oh-my-zsh/plugins/coffee/coffee.plugin.zsh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/zsh
|
||||
|
||||
# compile a string of coffeescript and print to output
|
||||
cf () {
|
||||
coffee -peb "$1"
|
||||
}
|
||||
# compile & copy to clipboard
|
||||
cfc () {
|
||||
cf "$1" | clipcopy
|
||||
}
|
||||
|
||||
# compile from clipboard & print
|
||||
alias cfp='cf "$(clippaste)"'
|
||||
|
||||
# compile from clipboard and copy to clipboard
|
||||
alias cfpc='cfp | clipcopy'
|
||||
Loading…
Add table
Add a link
Reference in a new issue