mac開發效率合集

總有很多情況讓你不得不去重裝下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

地址:https://brew.sh/

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'

如有補充,歡迎指正

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章