Last active
November 13, 2019 16:31
-
-
Save diazdc/3d51fa59df8b0a0b12f01101e02d7c57 to your computer and use it in GitHub Desktop.
Colored conda environment prompt with user name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# must overide default conda PS1 with "conda config --set changeps1 False' first | |
PS1='(\[\e[0;32m\]$(basename "$CONDA_DEFAULT_ENV")\[\e[m\]) \u\[\e[0;90m\]@\[\e[m\]\h '; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment