justin808 / justin808-dotfiles

Zsh, Elisp, etc. for justin808
4 stars 2 forks source link

git-branch-current vs. git_current_branch #3

Open robwise opened 8 years ago

robwise commented 8 years ago

In the git.zsh file, the gpthis alias uses git_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 as git-branch-current (https://github.com/justin808/justin808-dotfiles/blob/master/zsh/git.zsh#L19). What's going on here?

justin808 commented 8 years ago

I'm not sure -- try it out and see what the difference is. Maybe they are the same?

which prints the function.

robwise commented 8 years ago

hmm, they are very similar: