總有很多情況讓你不得不去重裝下mac, 重裝易,回到原來熟悉的開發環境也還需要幾個小時的安裝時間~~~
iterm2 + oh-my-zsh + homebrew
前提是安裝mac自帶Xcode
iterm2
dracula主題:https://draculatheme.com/iterm/
oh-my-zsh (terminal各種自定義圖標小玩意)
地址:https://github.com/robbyrussell/oh-my-zsh
autosuggestion(命令行自動提示)
地址:https://github.com/zsh-users/zsh-autosuggestions
$ cd ~
$ vim .zshrc
//將下面命令加入該文件
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
homebrew
tips:
- 當前文件打開終端工具: Go2shell
- 終端下打開findle
open .
- 配置命令行啓動atom, subl:
$ vim .zshrc
添加以下命令,以下目錄查看方式爲Application目錄下,右鍵應用顯示包內容下查看
alias subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
alias atom='/Applications/Atom.app/Contents/MacOS/Atom'
如有補充,歡迎指正