]> Sergey Matveev's repositories - dotfiles.git/commitdiff
http[s]_proxy is set by default
authorSergey Matveev <stargrave@stargrave.org>
Sun, 20 Feb 2022 12:07:48 +0000 (15:07 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 21 Feb 2022 07:06:15 +0000 (10:06 +0300)
x/bin/start-im
youtube-dl/bin/yt
zsh/.zsh/env/005proxy.zsh [new file with mode: 0644]

index 3b883d82a1e5a4d722263988ccb8b1f831095424..2e3373fed6282c7e707291139bcf381fe6b33e35 100755 (executable)
@@ -7,7 +7,7 @@ tmux new-session -d -s im
 tmux rename-window -t im:1 "mattermost"
 tmux split-window -t im:1
 
-paste im:1.0 "~/work/matterircd/start.sh"
+paste im:1.0 "~w/matterircd/start.sh"
 sleep 1
 paste im:1.1 "irssi"
 tmux resize-pane -U -t im:1 15
index 01a2af09c79deefcad63188dad6372cb7e096923..ebdf4e180d6c4e9f8a81e1d71e919fdec5a07684 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/local/bin/zsh
 
 . ~/work/youtube-venv/bin/activate
+unset http_proxy https_proxy
 yt-dlp --config-location ~/.youtube-dl.conf $@
diff --git a/zsh/.zsh/env/005proxy.zsh b/zsh/.zsh/env/005proxy.zsh
new file mode 100644 (file)
index 0000000..a32e26f
--- /dev/null
@@ -0,0 +1,2 @@
+export http_proxy=http://localhost:8080
+export https_proxy=$http_proxy