diff --git a/zsh/.config/zsh/source/rpaste.zsh b/zsh/.config/zsh/source/rpaste.zsh new file mode 100644 index 0000000..8b7fc49 --- /dev/null +++ b/zsh/.config/zsh/source/rpaste.zsh @@ -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