总有很多情况让你不得不去重装下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'
如有补充,欢迎指正