您的位置:首页 > 理论基础 > 计算机网络

emacs使用http代理打开

2016-03-27 04:17 471 查看
环境:ubuntu 15.10 64bit,emacs 24 ,git

http代理搭建方法:http://www.cnblogs.com/liuxuzzz/p/5324749.html

原因:

因为要使用Steve Purcell(https://github.com/purcell/emacs.d)的emacs配置,但是他的配置在下载时会发现网络连不通的情况,所以需要用代理打开emacs。

1.删除自己的配置。

$ rm ~/.emacs
$ rm -rf ~/.emacs.d/
$ mkdir ~/.eamcs.d


2.克隆Steve Purcell的配置。

$ git clone https://github.com/purcell/emacs.d.git ~/.emacs.d


3.使用http代理打开emacs自动下载其余配置文件。

http_proxy=http://127.0.0.1:8118/ emacs -nw


现在emacs就可以网络通畅的自动下载配置文件了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: