scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.82k stars 192 forks source link

scm_breeze broken after update? #209

Closed tirithen closed 7 years ago

tirithen commented 7 years ago

Hi, suddenly today after upgrading scm_breeze both running git with and without the aliases seem broken. :/ If I uninstall scm_breeze.

➜  clinical-models git:(master) ✗ gpl
git:10: command not found: gh
➜  clinical-models git:(master) ✗ gp
git:10: command not found: gh
➜  clinical-models git:(master) ✗ git pull
git:10: command not found: gh
➜  clinical-models git:(master) ✗ git push
git:10: command not found: gh
tirithen commented 7 years ago

I realized that it might be related to oh-my-zsh update, I tend to mix them up some times but still the aliases are broken. :/

masonlouchart commented 7 years ago

Ok, I confirm. I've just update oh-my-zsh and my aliases are broken. 🔨 Damn... 😑

When I disable this line everything is working.

fbvilela commented 7 years ago

removing that line worked for me too. Thanks for the catch, @LM450N !

tirithen commented 7 years ago

Thanks @LM450N ! So happy that I can use scm_breeze again. :D My muscle memory kept trying to type the shortenings instead of git status/diff/commit and so on.

ndbroadbent commented 7 years ago

Hi, this is strange. Can someone please post the output of type gh?

ndbroadbent commented 7 years ago

I pushed an update to comment out this line, but would like to figure out why it's happening

tirithen commented 7 years ago

I have the line commented out and get the following (I have not spent time understanding the reason of the issue)

$ type gh
gh is an alias for git help
ndbroadbent commented 7 years ago

Ohhhhh I see. I think oh-my-zsh is including it's own git aliases then. gh was initially a command-line tool for GitHub before it was merged into hub. So I don't think we need to worry about that anymore

masonlouchart commented 7 years ago

You're welcome guys! 😉