feat: add void

This commit is contained in:
Strix 2023-11-16 15:43:34 +01:00
parent 6762a87b83
commit c8610fb3fd
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
9 changed files with 46 additions and 16 deletions

View file

@ -23,11 +23,14 @@ update_dotfiles() {
}
alias udf="update_dotfiles"
0file() { curl -F"file=@$1" {0} ; }
0pb() { curl -F"file=@-;" https://envs.sh ; }
0url() { curl -F"url=$1" https://envs.sh ; }
0short() { curl -F"shorten=$1" https://envs.sh ; }
function share_cdn() {
if ! [ -f "$1" ]; then
echo "file needs to exist"
return 1
fi
scp $1 keymaker:/usr/share/cdn/random/$2 > /dev/null
echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}"
}
export PATH="${PATH}:/home/${USER}/.local/bin"
@ -37,4 +40,4 @@ case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
# pnpm end