summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-03-28 18:37:50 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-03-28 18:37:50 +0300
commitf066dc1cf71b9fe595a4b162853c28d486513c08 (patch)
tree8571a06748d9d0cd697b14b159cc54a6c251fd6f /powerlevel9k.zsh-theme
parent9a895bc7e4c925658a9c57681437000445f399ed (diff)
Make _path variable local in anaconda segment
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
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 "("