Fix bashrc condition