Skip to content

Instantly share code, notes, and snippets.

View sabieber's full-sized avatar

Sascha Bieberstein sabieber

View GitHub Profile
@sabieber
sabieber / .zshrc
Last active March 15, 2019 12:35
ZSH config
# ALIASES
alias ls='ls -la'
alias f='open -a Finder ./'
alias edit='code'
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ipconfig getifaddr en0"
alias ips="ifconfig -a | grep -o 'inet6\? \(addr:\)\?\s\?\(\(\([0-9]\+\.\)\{3\}[0-9]\+\)\|[a-fA-F0-9:]\+\)' | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"