Fix tab completion and git prompt