I'm having trouble installing git auto completion into my bash profile. I've attached a version of the bash script. Does anyone know why my the auto completion in git isn't working when I save and exit nano? Thanks! enter image description here

有帮助吗?

解决方案

you need to logout and log back in to force .bash_profile to run.

or to try if it is working right away, run

source ~/.git-completion.bash

source ~/.bash_profile would also work

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top