mac os 下用户自己的shell配置默认读取用户文件夹下的.bash_profile而非.bashrc,另外终端默认是没有高亮设置的,比如你ls -l是看不到文件夹和普通文件颜色区别的,通过在.bash_profile中设置:
export CLICOLOR=1 可实现
参考:http://blog.sina.com.cn/s/blog_4c81e62301019ger.html
mac os 下用户自己的shell配置默认读取用户文件夹下的.bash_profile而非.bashrc,另外终端默认是没有高亮设置的,比如你ls -l是看不到文件夹和普通文件颜色区别的,通过在.bash_profile中设置:
export CLICOLOR=1 可实现
参考:http://blog.sina.com.cn/s/blog_4c81e62301019ger.html