also see: https://github.com/tj/git-extras
entry: omz-git.plugin.zsh
vim $HOME/.zshrc
plugins=(
# ...
omz-git
)
source $HOME/.zshrc
- TODO 整理出插件需要的环境变量, 统一管理, 降低重用的成本
Use git up
brew install pygitup
- Define function instead of alias as alias is hard to check source_location...