diff --git a/url.shortme.sh b/url.shortme.sh index 66acd5c..8d40ba5 100755 --- a/url.shortme.sh +++ b/url.shortme.sh @@ -13,7 +13,7 @@ debug="0" flag_clipboard=1 flag_inline=1 -null_url="https://null.101010.fr" +null_service_url="https://null.101010.fr" ## Colors [[[ c_redb='\033[1;31m' @@ -53,4 +53,7 @@ fi [ "${debug}" -eq "0" ] && printf "${c_magentab}%-6b${c_reset}\n" "DEBUG : URL to be shortened : ${url_to_short}" # ]]] +# shorten URL +result=$(curl -sF"shorten=${url_to_short}" "${null_service_url}") + exit 0