diff --git a/zshrc b/zshrc index b09fb3a..6449748 100644 --- a/zshrc +++ b/zshrc @@ -1201,6 +1201,13 @@ function listalias(){ cat /etc/zsh/zshrc | egrep "alias|function" | grep -v "^#" | $PAGER } +# Get real address behind a shorten URL {{{ +# Require a function because the given argument need to be passed to curl +function unshorten() +{ + curl --silent https://unshorten.me/s/"${1-}" +} +# }}} # Get public IP address {{{ function ippub()