mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
feat(systemadmin): add IPv6 info to geteip
command (#9856)
This commit is contained in:
parent
0e5fed193e
commit
1916a31153
@ -131,7 +131,8 @@ d0() {
|
||||
|
||||
# gather external ip address
|
||||
geteip() {
|
||||
curl -s -S https://icanhazip.com
|
||||
curl -s -S -4 https://icanhazip.com
|
||||
curl -s -S -6 https://icanhazip.com
|
||||
}
|
||||
|
||||
# determine local IP address(es)
|
||||
|
Loading…
Reference in New Issue
Block a user