幸福飞过海 - brew https://fengqi.me/tag/brew/ [记录] Brew install 命令补全总是有两个的解决办法 https://fengqi.me/default/393.html 2015-07-16T02:26:57+00:00 问题如下, 输入到 ins, 一按 tab 键... 真是够了!!fengqi@fengqi-MacBookPro ~$ brew ins instal install instal 是 install 的别名, 就是说允许少输入一个 l 也能用, 但是我想 输入 ins 然后按 tab 补全到 brew install xxx 啊治疗办法是:打开 vi /usr/local/Library/Homebrew/global.rb, 找到如下部分'ln' => 'link', 'instal' => 'install', # gem does the same 'rm' => 'uninstall',删除 'instal' => 'install', 保存退出. [总结]利用 Privoxy 让命令行下的 wget 和 curl 等命令实现自动代理 https://fengqi.me/unix/328.html 2015-01-23T07:30:00+00:00 curl 和 wget 都可以通过附带参数来使用代理curl -x http://127.0.0.1:8087 github.com wget -e "http_proxy=127.0.0.1:8087" github.com 临时用用还好,但是经常使用也就麻烦了,可以通过配置文件简化shell> cat ~/.wgetrc https_proxy = http://127.0.0.1:8087 http_proxy = http://127.0.0.1:8087 ftp_proxy = http://127.0.0.1:8087 use_proxy = on continue = on check_certificate = off shell> cat ~/.curlrc -L proxy = 127.0.0.1:8087 参数解释:[...]