feat(zsh): add rpaste configuration
This commit is contained in:
parent
95941987f6
commit
23b17c0aea
1 changed files with 5 additions and 0 deletions
5
zsh/.config/zsh/source/rpaste.zsh
Normal file
5
zsh/.config/zsh/source/rpaste.zsh
Normal file
|
@ -0,0 +1,5 @@
|
|||
function rpaste() {
|
||||
local file=${1:-/dev/stdin}
|
||||
curl --data-binary @${file} https://paste.rs
|
||||
}
|
||||
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2
|
Loading…
Reference in a new issue