mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-05 05:38:21 -05:00
11 lines
193 B
Bash
Executable File
11 lines
193 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "-e" ]; then
|
|
curl https://unshorten.me/s/"$2"
|
|
elif [ "$1" = "-s" ]; then
|
|
curl https://tinyurl.com/api-create.php?url="$2"
|
|
else
|
|
echo "Wrong arguments"
|
|
return 1
|
|
fi
|