Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 495 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 495 Bytes

Custom omz git plugins

also see: https://github.com/tj/git-extras

entry: omz-git.plugin.zsh

how to enable this plugin?

vim $HOME/.zshrc

plugins=(
  # ...
  omz-git
)

source $HOME/.zshrc
  • TODO 整理出插件需要的环境变量, 统一管理, 降低重用的成本

How to sync branches?

Use git up

brew install pygitup

Practice

  • Define function instead of alias as alias is hard to check source_location...