1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-02 18:50:09 +00:00
ohmyzsh/plugins/ips/ips.plugin.zsh

4 lines
195 B
Bash
Raw Normal View History

2021-06-27 03:59:43 +00:00
# easy get ip - internal & external
alias ipe="curl -w '\n' ipinfo.io/ip"
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'"