显示隐藏文件命令
显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false
重启 Finder 之后产生效果。
重启Finder
option+右键点击Finder选择重启.
终端工具iTerm2
下载地址:http://iterm2.com/
自动安装:
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | shps:需要安装wget 请看下面的安装步骤.
安装Homebrew
自动安装:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"安装wget:
$ brew install wget
oh my zsh终极shell
将bash切换为zsh
chsh -s /bin/zsh创建.zshrc配置文件
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc编辑 .zshrc文件
更改:ZSH_THEME=xxx 属性,xxx为主题名称.
还有更多的配置,需要慢慢了解,暂时并没有更深入的去了解,感兴趣大家可以自行搜索学习.
iTerm2+oh my zsh 非常的炫酷.
以下是一些截图,大家感受一下.




本文介绍如何在Mac上使用命令显示和隐藏文件,并通过iTerm2与oh-my-zsh进行终端个性化设置,包括安装教程及配置建议。
2986

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



