aboutsummaryrefslogtreecommitdiff
path: root/store/config/home/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'store/config/home/bashrc')
-rw-r--r--store/config/home/bashrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/store/config/home/bashrc b/store/config/home/bashrc
new file mode 100644
index 0000000..e59b2a4
--- /dev/null
+++ b/store/config/home/bashrc
@@ -0,0 +1,13 @@
+set-proxy() {
+ export http_proxy="http://127.0.0.1:7897"
+ export https_proxy="http://127.0.0.1:7897"
+ export HTTP_PROXY="http://127.0.0.1:7897"
+ export HTTPS_PROXY="http://127.0.0.1:7897"
+}
+
+unset-proxy() {
+ unset http_proxy
+ unset https_proxy
+ unset HTTP_PROXY
+ unset HTTPS_PROXY
+}