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

git_status_shortcuts not found #121

Open etnbrd opened 10 years ago

etnbrd commented 10 years ago

Thanks for this amazing tool :)

I used it for the last past months without any troubles, but I reinstall my machine from scratch with Arch linux and zsh and it doesn't seem to work anymore.

when I start my shell, and therefore source scm_breeze.sh, I got this errors :

/home/etn/.scm_breeze/lib/git/aliases.sh:78: git_status_shortcuts not found
/home/etn/.scm_breeze/lib/git/aliases.sh:78: git_status_shortcuts not found

I don't know exactly how to look for errors, any advices welcome :)

Thanks.


zsh --version
zsh 5.0.2 (x86_64-unknown-linux-gnu)
uname -a
Linux arch-dev 3.12.1-3-ARCH #1 SMP PREEMPT Tue Nov 26 11:17:02 CET 2013 x86_64 GNU/Linux
kevinslin commented 10 years ago

+1

ndbroadbent commented 10 years ago

Sorry I can't reproduce on my Mac with zsh.

zsh --version
zsh 5.0.2 (x86_64-apple-darwin12.5.0)

I think your ~/.git.scmbrc might be out of date, and missing some variables. If so, you could try running:

cp ~/.scm_breeze/git.scmbrc.example ~/.git.scmbrc
ndbroadbent commented 10 years ago

Also, what does your ~/.zshrc look like?

etnbrd commented 10 years ago

Sorry for the long delay :/ I just installed everything again and it now works fine (I ran the install script).

The problem, as you said, might be that I missed some stuff in the .git.smbrc. The README says that the install script is only adding a line in the .zshrc, so I didn't bother running it at first, because I copied my .zshrc from my previous machine. So I didn't had these files created by the install script.

You might want to change that in the README.