mirror of https://github.com/ohmyzsh/ohmyzsh.git
feat(systemadmin): add IPv6 info to `geteip` command (#9856)
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