diff --git a/bashrc b/bashrc index fb7f1eae..8ef6f7e5 100644 --- a/bashrc +++ b/bashrc @@ -323,9 +323,9 @@ alias gpg-key-count="gpg --export -a|gpg --import" alias follow="tail -f " #myip shows current IP. This was a function. -alias myip="curl http://cadoth.net/~mkaysi/IP.php" -alias myip4="curl -4 http://cadoth.net/~mkaysi/IP.php" -alias myip6="curl -6 http://cadoth.net/~mkaysi/IP.php" +alias myip="curl -s http://icanhazip.com" +alias myip4="curl -s4 http://icanhazip.com" +alias myip6="curl -s6 http://icanhazip.com" # Allow custom aliases to be put in .aliases or .bash_aliases . diff --git a/zshrc b/zshrc index 492e9729..022db691 100644 --- a/zshrc +++ b/zshrc @@ -272,10 +272,9 @@ alias gpg-key-count="gpg --export -a|gpg --import" alias follow="tail -f " #myip shows current IP. This was a function. -alias myip="curl http://cadoth.net/~mkaysi/IP.php" -alias myip4="curl -4 http://cadoth.net/~mkaysi/IP.php" -alias myip6="curl -6 http://cadoth.net/~mkaysi/IP.php" - +alias myip="curl -s http://icanhazip.com" +alias myip4="curl -s4 http://icanhazip.com" +alias myip6="curl -s6 http://icanhazip.com" # .aliases if [ -f ~/.aliases ]; then