美文网首页
MAC终端配置

MAC终端配置

作者: 上帝是个女孩丶 | 来源:发表于2017-07-07 09:56 被阅读21次

显示隐藏文件:

显示: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终端配置

      本文链接:https://www.haomeiwen.com/subject/ohrlhxtx.html