diff --git a/dot_zsh_aliases b/dot_zsh_aliases index be0eba8..c699801 100644 --- a/dot_zsh_aliases +++ b/dot_zsh_aliases @@ -62,6 +62,10 @@ alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0' alias sshpub='cat ~/.ssh/id_ed25519.pub' alias ssla="openssl x509 -alias -noout -in" # Usage : ssla +# Network +alias ip='echo $(curl ident.me 2>/dev/null)' +alias ipinfo='curl "ipinfo.io/"$(ip)' + # Misc alias h='cd $HOME' alias diff='colordiff' @@ -86,6 +90,9 @@ alias current_year='`echo date +"%Y"`' alias meteo='weather' alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man" alias biggerthan10='biggerthan 10M' +alias latency='curl cheat.sh/latency' +alias moon='curl wttr.in/Moon' +alias lune='moon' # Show/hide hidden files in Finder alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"