mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 20:29:01 -05:00
11 lines
189 B
Bash
Executable File
11 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "-e" ]; then
|
|
curl https://unshorten.me/s/"${2:--}"
|
|
elif [ "$1" = "-s" ]; then
|
|
curl -F"shorten=${2:--}" https://0x0.st
|
|
else
|
|
echo "Wrong arguments"
|
|
return 1
|
|
fi
|