From 0ca443f3811413d2c55cd8ff3e4ae6ac3b840860 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Thu, 3 Feb 2022 21:16:18 +0100 Subject: [PATCH] Zsh: Fix get_ip --- zsh/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index 5d37b82..bf8220b 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -8,7 +8,7 @@ doasedit () { get_ip () { (( ${+commands[wget]} )) || return 1 - wget "$1" -qO- "https://ifconfig.co/json" + wget $@ -qO- "https://ifconfig.co/json" } pz_upgrade () {