From a205f0264f006e184413a83ff13967eb25679e75 Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:59 +1000 Subject: [PATCH] zsh: add function '0x0' for uploading files to 0x0.st --- stow/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stow/.zshrc b/stow/.zshrc index e482930..0a8eb4c 100644 --- a/stow/.zshrc +++ b/stow/.zshrc @@ -43,6 +43,10 @@ func calc() { fi } +func 0x0() { + curl -F file=@$1 https://0x0.st +} + # plugins plugindir="$HOME/.local/share/zsh_plug" func plugInstall() {