linux开发环境搭建

来源:互联网 发布:光谷数据 编辑:程序博客网 时间:2024/05/16 12:57

环境配置管理

home目录采用git管理,这样避免配置配更改

使用zsh

一直使用zsh,感觉zsh的自动补全功能非常好,比bash好用(也许是我没配好吧)

安装powerline

git clone https://github.com/powerline/powerline.git powerline

下载patched font

powerline为保证很好的视觉效果,设计了自己的一些字体
git clone https://github.com/powerline/fonts.git –depth=1
cd fonts
./install.sh

设置字体

以iterm2为例
这里写图片描述
选择以powerline结尾的字体名

配置tmux

配置vim

配置powerline

在.vimrc中添加
set rtp+=~/powerline/powerline/bindings/vim
set laststatus=2 “设置statusline总是显示

配置代理

原创粉丝点击