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.83k stars 191 forks source link

Bash completion doesn't work for git v2.30 #306

Closed telzhov closed 3 years ago

telzhov commented 3 years ago

Happy New Year everyone! Upgraded git to v2.30, typed in bash command line 'g', \<space>, \<tab>, and got:

$ g bash: completion: function `_git' not found
$ g 

Checked /usr/share/bash-completion/completions/git, and yes, there is no '_git' function defined there (it's there for git <= v2.29.x). So it would be nice for SCM breeze to support v2.30 as well :)

Thanks a lot for your efforts!

ghthor commented 3 years ago

Well, since you have the environment setup already, do you think you could hack at it and submit a patch that can support git 2.30. They must have renamed the completion function, or maybe someone packaged 2.30 incorrectly.

On Sat, Jan 2, 2021, 6:38 AM Timur Elzhov notifications@github.com wrote:

Happy New Year everyone! Upgraded git to v2.30, typed in bash command line 'g', , , and got:

$ g bash: completion: function `_git' not found $ g

Checked /usr/share/bash-completion/completions/git, and yes, there is no '_git' function defined there (it's there for git <= v2.29.x). So it would be nice for SCM breeze to support v2.30 as well :)

Thanks a lot for your efforts!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scmbreeze/scm_breeze/issues/306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABHEKXYREY2N6KZEB4CJTLSX4ATDANCNFSM4VQ74LYQ .

telzhov commented 3 years ago

Thanks, done #307

telzhov commented 3 years ago

Accidentally closed, reopening.