From d2cf4c7f55778064f1432a2d3032fd618db8cbe9 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 25 Apr 2024 14:03:54 +0100 Subject: [PATCH] Adds uppercase versions of env variables to proxy-on command --- shells/shared/functions | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/shells/shared/functions b/shells/shared/functions index 12e64d7c..538116ed 100644 --- a/shells/shared/functions +++ b/shells/shared/functions @@ -114,9 +114,13 @@ function proxy_on() { fi local proxy=$1 export http_proxy="$proxy" \ - https_proxy=$proxy \ - ftp_proxy=$proxy \ - rsync_proxy=$proxy + HTTP_PROXY="$proxy" \ + https_proxy="$proxy" \ + HTTPS_PROXY="$proxy" \ + ftp_proxy="$proxy" \ + FTP_PROXY="$proxy" \ + rsync_proxy="$proxy" \ + RSYNC_PROXY="$proxy" echo "Proxy environment variable set." return 0 fi