alias check_login_ips="last | grep -P -o '((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)(\.(?!$)|\b)){4}' - | grep -v '192.168.0' | grep -v '24.166.27.22' | sort | uniq" alias insignia="clear; cat ~/.insignia; echo;" # General utility alias simple_serve="python3 -m http.server 12080" # git commands alias status="clear; git status" alias git_home="git checkout master" alias git_root="cd $(git rev-parse --show-toplevel)" alias fetch_pull="git fetch && git pull" # Checks that the terminal windows is 72 chars wide # Useful for VS Code terminals alias check_width="printf '=%.0s' {1..72}; echo"