1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 04:11:58 +00:00

feat(systemadmin): add IPv6 info to geteip command (#9856)

This commit is contained in:
Wolfgang Ladermann 2021-04-23 16:23:26 +02:00 committed by GitHub
parent 0e5fed193e
commit 1916a31153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)