码迷,mamicode.com
首页 > 系统相关 > 详细

macbook 终端颜色配置

时间:2015-02-12 16:21:19      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:vim   bash   macbook   

    次文章方法只满足简单颜色配置方案,且只针对单个用户生效。


1、终端颜色配置

    1.编辑 ~/.bash_profile, 加入以下代码:

  1. Bash代码  技术分享
    1. export CLICOLOR=1  
    2. export LSCOLORS=gxfxaxdxcxegedabagacad  
     
  2. source ~/.bash_profile
参考资料:http://goddy128.iteye.com/blog/537683

2、vim编辑颜色配置

1.编辑~/.vimrc , 加下代码:

Bash代码  技术分享
colorscheme murphy 
2. source  ~/.vimrc

</pre><pre name="code" class="python">
3、git 颜色开启

git config --global color.diff auto

git config --global color.status auto

git config --global color.branch auto




macbook 终端颜色配置

标签:vim   bash   macbook   

原文地址:http://blog.csdn.net/cankingapp/article/details/43761585

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!