I created an anaconda environment in a project folder specifying the path with -p option, i.e. not in the default anaconda3/envs folder:
conda create -p venv
The problem is that when I activate that environment, the bash prefix in the terminal is too long, i.e. it prepends the entire path of the environment to the prompt:
(/path/to/the/environment/venv) user@machine: ~/path/to/environment/$
Is there a way to fix this, meaning make it shorter or delete the prefix from prompt?
My $PS1:
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$