shell: remove 0x0 functions because broken

This commit is contained in:
Nico 2025-11-01 14:20:06 +11:00
parent 4ac3953885
commit 3d7a4ba0c2
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
2 changed files with 0 additions and 31 deletions

View file

@ -71,28 +71,6 @@ export PATH="$PATH:$GOPATH/bin"
export EDITOR="nvim"
# functions
func calc() {
# why isn't this in bash by default
#
if command -v python3 > /dev/null; then
python3 -c "print($1)"
else
echo "python3 needs to be installed for this to work!"
fi
}
func 0x0() {
if [ -d "$1" ];
then
TMPFILE="$(mktemp)"
tar cf "$TMPFILE" "$1"
curl -F file=@$TMPFILE -F expires=24 https://0x0.st
else
curl -F file=@$1 -F expires=24 https://0x0.st
fi
}
# plugins
plugindir="$HOME/.local/share/zsh_plug"
func plugInstall() {