summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/zshrc
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-06-22 21:13:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-06-22 21:13:23 +0200
commitba907ef7b4f5962a11c20adb4036b6ddad26a000 (patch)
tree25f1aa3d84ef13a69afa9fc1f648822224429de6 /accounts/gkleen@sif/zshrc
parent173f53c48c42fbf8efc23b1393a71e9e688bfcec (diff)
downloadnixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar.gz
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar.bz2
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.tar.xz
nixos-ba907ef7b4f5962a11c20adb4036b6ddad26a000.zip
...
Diffstat (limited to 'accounts/gkleen@sif/zshrc')
-rw-r--r--accounts/gkleen@sif/zshrc4
1 files changed, 2 insertions, 2 deletions
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() {
93 if [[ $curlArchive = "true" ]]; then 93 if [[ $curlArchive = "true" ]]; then
94 archiveFile=$(mktemp -t "archive.XXXXXXXXXX.${templateArchive:t}") 94 archiveFile=$(mktemp -t "archive.XXXXXXXXXX.${templateArchive:t}")
95 95
96 curl -L -o ${archiveFile} ${templateArchive} 96 curl -SfL -o ${archiveFile} ${templateArchive}
97 97
98 templateArchive=${archiveFile} 98 templateArchive=${archiveFile}
99 fi 99 fi
@@ -231,7 +231,7 @@ clock() {
231} 231}
232 232
233public-ip() { 233public-ip() {
234 curl -s -H 'Accept: application/json' $@ ifconfig.co | jq -r '.ip' 234 curl -sSf -H 'Accept: application/json' $@ ifconfig.co | jq -r '.ip'
235} 235}
236 236
237swap() { 237swap() {