homebrew

安装

国内安装源
https://gitee.com/cunkai/HomebrewCN

镜像助手
https://brew.idayer.com/guide/change-source/

zsh & oh-my-zsh

安装

https://segmentfault.com/a/1190000013612471

主题

插件

git 插件

https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git

  1. gapa git add --patch
  2. gc! git commit -v --amend
  3. gcl git clone --recursive
  4. gclean git reset --hard && git clean -dfx
  5. gcm git checkout master
  6. gcmsg git commit -m
  7. gco git checkout
  8. gd git diff
  9. gdca git diff --cached
  10. gp git push
  11. grbc git rebase --continue
  12. gst git status
  13. gup git pull --rebase