1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-13 04:40:59 +01:00
Files
oh-my-zsh/plugins/ips/ips.plugin.zsh
2021-06-27 20:29:19 -03:00

4 lines
196 B
Bash

# easy get ip - internal & external
alias ipe="curl -s ipv4.icanhazip.com"
alias ipi="ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*'| grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'"