Skip to content

Commit

Permalink
Fix usage of POWERLINE_PYTHON_ENV_MARKER
Browse files Browse the repository at this point in the history
Make the powerline theme respect the python env marker configured in
POWERLINE_PYTHON_ENV_MARKER variable instead of hardcoding it to '(e) '.
This works as intended in powerline_full theme.
  • Loading branch information
sjoegren committed Dec 16, 2020
1 parent 3c0846a commit e908ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/powerline/powerline.theme
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _lp_powerline_theme_prompt() {

local lp_python_env
if _lp_python_env; then
__powerline_section "(e) ${lp_python_env}" "${POWERLINE_PYTHON_ENV_COLOR[@]}"
__powerline_section "${POWERLINE_PYTHON_ENV_MARKER}${lp_python_env}" "${POWERLINE_PYTHON_ENV_COLOR[@]}"
fi

__powerline_path_section
Expand Down

0 comments on commit e908ec8

Please sign in to comment.