summaryrefslogtreecommitdiff
path: root/plugins/systemadmin
diff options
context:
space:
mode:
authorWolfgang Ladermann <wuerzelchen@users.noreply.github.com>2021-04-23 16:23:26 +0200
committerGitHub <noreply@github.com>2021-04-23 16:23:26 +0200
commit1916a31153ddf3e48d31e3a7193ed97eaf34097d (patch)
tree109d9814850f9fbd57e8f8e14d679b86ca3200f3 /plugins/systemadmin
parent0e5fed193edf0073fab5adaac61f7b912ea86060 (diff)
downloadzsh-1916a31153ddf3e48d31e3a7193ed97eaf34097d.tar.gz
zsh-1916a31153ddf3e48d31e3a7193ed97eaf34097d.tar.bz2
zsh-1916a31153ddf3e48d31e3a7193ed97eaf34097d.zip
feat(systemadmin): add IPv6 info to `geteip` command (#9856)
Diffstat (limited to 'plugins/systemadmin')
-rw-r--r--plugins/systemadmin/systemadmin.plugin.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/systemadmin/systemadmin.plugin.zsh b/plugins/systemadmin/systemadmin.plugin.zsh
index 08136abda..a77f0069b 100644
--- a/plugins/systemadmin/systemadmin.plugin.zsh
+++ b/plugins/systemadmin/systemadmin.plugin.zsh
@@ -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)