Skip to content

Commit

Permalink
Merge pull request conda#3135 from blindgaenger/proper_ps1_backup_whe…
Browse files Browse the repository at this point in the history
…n_activate_env

fix PS1 backup in activate script
  • Loading branch information
kalefranz authored Jul 26, 2016
2 parents b5bc877 + ca7d0fe commit 89b727f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/activate
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ _NEW_PART=$("$_CONDA_DIR/conda" ..activate $_SHELL$EXT "$args")
if (( $? == 0 )); then
export CONDA_PATH_BACKUP="$PATH"
# export this to restore it upon deactivation
export CONDA_PS1_BACKUP=$PS1
export CONDA_PS1_BACKUP="$PS1"

export PATH="$_NEW_PART:$PATH"
# CONDA_DEFAULT_ENV is the shortest representation of how conda recognizes your env.
Expand Down

0 comments on commit 89b727f

Please sign in to comment.