1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-03-27 04:50:18 +08:00

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

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)