mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-29 00:04:36 +00:00
Make _path variable local in anaconda segment
This commit is contained in:
@@ -278,7 +278,7 @@ CURRENT_BG='NONE'
|
|||||||
prompt_anaconda() {
|
prompt_anaconda() {
|
||||||
# Depending on the conda version, either might be set. This
|
# Depending on the conda version, either might be set. This
|
||||||
# variant works even if both are set.
|
# variant works even if both are set.
|
||||||
_path=$CONDA_ENV_PATH$CONDA_PREFIX
|
local _path=$CONDA_ENV_PATH$CONDA_PREFIX
|
||||||
if ! [ -z "$_path" ]; then
|
if ! [ -z "$_path" ]; then
|
||||||
# config - can be overwritten in users' zshrc file.
|
# config - can be overwritten in users' zshrc file.
|
||||||
set_default POWERLEVEL9K_ANACONDA_LEFT_DELIMITER "("
|
set_default POWERLEVEL9K_ANACONDA_LEFT_DELIMITER "("
|
||||||
|
|||||||
Reference in New Issue
Block a user