mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-03 04:20:01 +02:00
updated files
This commit is contained in:
parent
4d4fd1ba97
commit
89946f0bc0
16 changed files with 2672 additions and 2 deletions
20
plugins/coffee/coffee.plugin.zsh.orig
Normal file
20
plugins/coffee/coffee.plugin.zsh.orig
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/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
|
||||
<<<<<<< HEAD
|
||||
alias cfp='cf "$(clippaste)"'
|
||||
=======
|
||||
alias cfp='coffeeMe "$(clippaste)"'
|
||||
>>>>>>> c0134a9450e486251b247735e022d7efeb496b9c
|
||||
|
||||
# compile from clipboard and copy to clipboard
|
||||
alias cfpc='cfp | clipcopy'
|
||||
Loading…
Add table
Add a link
Reference in a new issue