diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2018-03-28 18:37:50 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2018-03-28 18:37:50 +0300 |
commit | f066dc1cf71b9fe595a4b162853c28d486513c08 (patch) | |
tree | 8571a06748d9d0cd697b14b159cc54a6c251fd6f | |
parent | 9a895bc7e4c925658a9c57681437000445f399ed (diff) |
Make _path variable local in anaconda segment
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 030807f2..8f06866f 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -278,7 +278,7 @@ CURRENT_BG='NONE' prompt_anaconda() { # Depending on the conda version, either might be set. This # variant works even if both are set. - _path=$CONDA_ENV_PATH$CONDA_PREFIX + local _path=$CONDA_ENV_PATH$CONDA_PREFIX if ! [ -z "$_path" ]; then # config - can be overwritten in users' zshrc file. set_default POWERLEVEL9K_ANACONDA_LEFT_DELIMITER "(" |