mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-13 21:00:57 +01:00
add ips aliases
This commit is contained in:
3
plugins/ips/ips.plugin.zsh
Normal file
3
plugins/ips/ips.plugin.zsh
Normal file
@@ -0,0 +1,3 @@
|
||||
# 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'"
|
||||
Reference in New Issue
Block a user