MAC终端配置

显示隐藏文件:

显示:defaults write com.apple.finder AppleShowAllFiles -bool true

隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false


颜色高亮显示

针对terminal采用bash模式:

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

2. export LSCOLORS=gxfxaxdxcxegedabagacad

3. 保存,然后重启terminal,搞定,恢复正常了.

自动补全忽略大小写

打开终端,输入:nano .inputrc在里面粘贴上以下语句:set completion-ignore-case onset show-all-if-ambiguous onTAB: menu-completeControl+O,保存,重启终端,OK!

你可能感兴趣的:(MAC终端配置)