顯示隱藏文件命令
顯示: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 - | sh
ps:需要安裝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 非常的炫酷.
以下是一些截圖,大家感受一下.