Instantly share code, notes, and snippets.
Shouldn't line 2 be . ~/.git-completion.bash to source the file per terminal?
@r48patel thanks for that does not work otherwise
Thats correct sorry I missed the original comment. Thanks @r48patel and @jason-adnuntius!
I think you also need to leave a space between if and [, otherwise you get
syntax error near unexpected token 'then'