Mac中iterm2显示彩色

2016年08月23日 18:09:37 Sun7_She 阅读数:1974
 

参考网址:https://segmentfault.com/q/1010000000653503

显示隐藏文件

defaults write com.apple.Finder AppleShowAllFiles YES

编辑.bash_profile

加入

export CLICOLOR=1
export LSCOLORS=gxfxcxdxbxegedabagacad
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
export TERM=xterm-color

即图片中的代码(不知道为神马,直接写的显示会有问题):

然后

source .bash_profile

但是设置完按住command键就不能点击文件进行编辑了。

 

最新文章

  1. iOS多线程之9.自定义NSOperation
  2. Create view failed with ORA-01031:insufficient privileges
  3. iOS用户信息单例的创建
  4. public && protected && private
  5. UITableView + UISearchBar 实现搜索功能
  6. windows phone 新手引导
  7. iOS NavigaitonController详解(code版)
  8. TCP/IP之分层
  9. pyqt 配置文件例子学习
  10. 数学之路-python计算实战(2)-初遇pypy
  11. COC+RTS+MOR游戏开发 一(游戏特色分析,和实践)
  12. 手动调用NDK编译HelloWorld
  13. Mybatis基础学习(二)—开发Dao方式
  14. 学习Spark——那些让你精疲力尽的坑
  15. php 常用的知识点归集(上)
  16. LeetCode算法题-Can Place Flowers(Java实现)
  17. bzoj1031(sa)
  18. 一个tomcat部署多个应用实例
  19. PAT 1021 个位数统计
  20. _itemmod_creation_enchant

热门文章

  1. 剑指offer37:统计一个数字在排序数组中出现的次数
  2. PHP学习之PHP编码习惯
  3. python学习-10 运算符1
  4. Python 【函数】
  5. 通过ImageReader进行图像裁剪时出现NoSuchElementException异常
  6. ORACLE和SQL查询库数据量
  7. PropertiesUtils(普遍做法)
  8. Category VS Extension 原理详解
  9. 14.SpringMVC核心技术-类型转换器
  10. davinci 删除路线站点关系