Mac中iterm2显示彩色
2024-10-19 13:37:38
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键就不能点击文件进行编辑了。
最新文章
- iOS多线程之9.自定义NSOperation
- Create view failed with ORA-01031:insufficient privileges
- iOS用户信息单例的创建
- public &;&; protected &;&; private
- UITableView + UISearchBar 实现搜索功能
- windows phone 新手引导
- iOS NavigaitonController详解(code版)
- TCP/IP之分层
- pyqt 配置文件例子学习
- 数学之路-python计算实战(2)-初遇pypy
- COC+RTS+MOR游戏开发 一(游戏特色分析,和实践)
- 手动调用NDK编译HelloWorld
- Mybatis基础学习(二)—开发Dao方式
- 学习Spark——那些让你精疲力尽的坑
- php 常用的知识点归集(上)
- LeetCode算法题-Can Place Flowers(Java实现)
- bzoj1031(sa)
- 一个tomcat部署多个应用实例
- PAT 1021 个位数统计
- _itemmod_creation_enchant