两个 alias 如下,(前提本机已经有 ss 等各种梯子)
alias fuck='export http_proxy=http://127.0.0.1:8080 https_proxy=http://127.0.0.1:8080'
alias fucked='export http_proxy="" https_proxy=""'
每次命令行,如 wget 等各种连不上,此时你心中必定万马奔腾,然后这两个用起来,就很舒服多了。
具体使用流程如下,
尼玛。。。我日。。。爽了。。。
两个 alias 如下,(前提本机已经有 ss 等各种梯子)
alias fuck='export http_proxy=http://127.0.0.1:8080 https_proxy=http://127.0.0.1:8080'
alias fucked='export http_proxy="" https_proxy=""'
每次命令行,如 wget 等各种连不上,此时你心中必定万马奔腾,然后这两个用起来,就很舒服多了。
具体使用流程如下,
尼玛。。。我日。。。爽了。。。
|
deathdealerFeb 27, 2019
1
赞。。
|
|
littleMapleFeb 27, 2019 via iPhone
2
第二个用 ejaculated 更好,直接用 fxxx 的过去式感觉怪怪的.
|
|
congeecFeb 27, 2019
3
proxychains4
不谢 |
|
VamposineFeb 27, 2019 via iPhone
4
ss 默认 socks5 啊,这种 alias 对 ss 应该不起作用
|
|
kingcosFeb 27, 2019 via iPhone
5
那些不就和 thefuck 冲突了……
|
|
wzwFeb 27, 2019 via iPhone
7
这名字……
|
|
11
难道正确姿势不是用 clash 然后全局代理,clash 做规则分流流量吗?
|
|
maskerFeb 27, 2019 via Android
13
proxy chains
|
|
hanruFeb 27, 2019 via Android
14
fuck 后面没有跟名词,和 wget 等命令连在一起用有些奇怪。
$ fuck wget ... $ fuck git ... alias 的名称可以更完整些,比如 fuck-gfw-begin 和 fuck-gfw-end。 |
|
joshua7vFeb 28, 2019
15
跟我差不多 用了很久了
mac / linux 用的 privoxy 转 http 代理 一点点区别: http_proxy="" # 我用 unset http_proxy |
|
CEBBCATFeb 28, 2019 via Android
16
哈哈哈
|
|
rrfengFeb 28, 2019 via Android
17
我选 fuck 和 unfuck (哈哈哈哈
|
|
rucheeFeb 28, 2019
19
我的配置长这样:
``` alias proxy='http_proxy=http://localhost:8123 https_proxy=http://localhost:8123' alias ssh_ss="ssh -o ProxyCommand='nc -x 127.0.0.1:1080 %h %p'" alias scp_ss="scp -o ProxyCommand='nc -x 127.0.0.1:1080 %h %p'" ``` 网络好时:wget xxx 网络不好时尝试:proxy wget xxx Mac 下用 polipo 转的 HTTP |
|
zencodingFeb 28, 2019 via iPhone
21
doproxy unproxy
|
|
0ZXYDDu796nVCFxqFeb 28, 2019 via Android
22
@Kilerd 直接在 .bash_profile export 就行了
配置一次,平时都不用管 |
|
ai277014717Feb 28, 2019
23
我也分享也 dash 代码片 ALL_PROXY=socks5://127.0.0.1:8080
|
|
nimrcFeb 28, 2019 via iPhone
24
tsocks
|
|
geelawFeb 28, 2019 via iPhone
25
应该叫 climb (
|
|
yanggFeb 28, 2019
26
搭车也分享一个:alias sudo='sudo '
允许 sudo 时调用别名命令 If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion. see http://www.gnu.org/software/bash/manual/bashref.html#Aliases |
|
aec4dFeb 28, 2019
27
|
|
yzlnewMar 1, 2019
28
Clash 和 ShadowsockX-NG 都有终端代理命令的复制
|