mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
feat(systemadmin): add IPv6 info to geteip
command (#9856)
This commit is contained in:
parent
0e5fed193e
commit
1916a31153
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ d0() {
|
||||||
|
|
||||||
# gather external ip address
|
# gather external ip address
|
||||||
geteip() {
|
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)
|
# determine local IP address(es)
|
||||||
|
|
Loading…
Reference in a new issue