Open robwise opened 9 years ago
I'm not sure -- try it out and see what the difference is. Maybe they are the same?
which
hmm, they are very similar:
git-branch-current
: returns the current branch, but with some Git stylinggit_branch_current
: returns the current branch in normal plaintext
In the
git.zsh
file, the gpthis alias usesgit_current_branch
(https://github.com/justin808/justin808-dotfiles/blob/master/zsh/git.zsh#L1) but then later on there's a function that's named very similarly asgit-branch-current
(https://github.com/justin808/justin808-dotfiles/blob/master/zsh/git.zsh#L19). What's going on here?