From ba907ef7b4f5962a11c20adb4036b6ddad26a000 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 Jun 2025 21:13:23 +0200 Subject: ... --- accounts/gkleen@sif/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif/zshrc') diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index abc200c6..b24ff257 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc @@ -93,7 +93,7 @@ dir() { if [[ $curlArchive = "true" ]]; then archiveFile=$(mktemp -t "archive.XXXXXXXXXX.${templateArchive:t}") - curl -L -o ${archiveFile} ${templateArchive} + curl -SfL -o ${archiveFile} ${templateArchive} templateArchive=${archiveFile} fi @@ -231,7 +231,7 @@ clock() { } public-ip() { - curl -s -H 'Accept: application/json' $@ ifconfig.co | jq -r '.ip' + curl -sSf -H 'Accept: application/json' $@ ifconfig.co | jq -r '.ip' } swap() { -- cgit v1.2.3