Issue
I am working remotely on my university's cluster. I have created two new conda environments: lammps-old
and lammps-new
. When I activate any environmet of them the username and current directory indicator disappear. Now they also disappeared in the base environment.
I have tried cutomizing the PS1
in the ~/.bashrc
and ~/.bash_profile
using:
export PS1="($CONDA_DEFAULT_ENV) [$LOGNAME@$HOSTNAME($SLURM_STEP_NODELIST) $PWD]$ "
But this only solves the problem for the base environment.
I would appreciate any help.
Solution
You can set changeps1
to False
by running the following command in the terminal:
conda config --set changeps1 False
or manually update .condarc
.
Answered By - runwuf Answer Checked By - Mary Flores (WPSolving Volunteer)