From 23b17c0aeab5729604650c2cc624e9087468d1df Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Tue, 14 Jun 2022 17:14:04 +1200 Subject: [PATCH] feat(zsh): add rpaste configuration --- zsh/.config/zsh/source/rpaste.zsh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 zsh/.config/zsh/source/rpaste.zsh 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