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'
, 保存退出.
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