justin808 / justin808-dotfiles

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

git-branch-current vs. git_current_branch #3

Open robwise opened 9 years ago

robwise commented 9 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 9 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 9 years ago

hmm, they are very similar: