1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-02-14 05:10:59 +01:00

change external ip track service

This commit is contained in:
frani
2021-06-27 20:29:19 -03:00
parent 0a55bf12e2
commit 2372943a38
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
# easy get ip - internal & external
alias ipe="curl -w '\n' ipinfo.io/ip"
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'"