Reputation: 1468
I installed ancaconda and installed two versions of pythons as
conda create -n python2 python=2.7 anaconda
conda create -n python3 python=3.6 anaconda
Now when I do source activate python3
, the environment python3 is prefixed in my terminal.
Before my terminal was : source activate python3
, Now anaconda prefix environment 'python3' is added (python3) shyamkkhadka@algo22:~$
.How can I remove the prefix (python3) from my terminal prompt, in ubuntu ?
Upvotes: 8
Views: 2629
Reputation: 1468
Well, I found the answer myself. Anaconda has nice feature for this also:
conda config --set changeps1 false
It hides the prefix in your command prompt.
Upvotes: 17