参考网址: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键就不能点击文件进行编辑了。
本文介绍如何在Mac OS X系统中使用命令让Finder显示所有隐藏文件,并提供了.bash_profile配置示例来美化终端,包括颜色设置及提示符等。
2758

被折叠的 条评论
为什么被折叠?



