From f4faa105a338a37889b5db540a59bf15d1b32589 Mon Sep 17 00:00:00 2001 From: David Kebler Date: Mon, 29 Apr 2024 13:43:56 -0700 Subject: [PATCH] fix gip --- load/01-basic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load/01-basic b/load/01-basic index 71b5728..851cd5b 100644 --- a/load/01-basic +++ b/load/01-basic @@ -58,7 +58,7 @@ rsynchg() { rsync --help | grep "\-$1"; } gip () { - if which jqx &> /dev/null; then + if which jq &> /dev/null; then curl -s "https://dns.google/resolve?name=$1" | jq -r '.Answer[] | .data' return 0 else