Browse Source

Enables Python VirtualEnv handling at the P10K level

master
Samuel FORESTIER 6 months ago
parent
commit
d5a4936938
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      .p10k.zsh

+ 10
- 0
.p10k.zsh View File

@@ -27,6 +27,7 @@
os_icon
dir
vcs
virtualenv
)

# The list of segments shown on the right.
@@ -254,6 +255,15 @@
# Show status of repositories of these types.
typeset -g POWERLEVEL9K_VCS_BACKENDS=(git)

###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
# Python virtual environment color.
typeset -g POWERLEVEL9K_VIRTUALENV_BACKGROUND=214
# Don't show Python version next to the virtual environment name.
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
# Remove parenthesis delimiters around virtual environment name.
typeset -g POWERLEVEL9K_VIRTUALENV_LEFT_DELIMITER=
typeset -g POWERLEVEL9K_VIRTUALENV_RIGHT_DELIMITER=

##########################[ status: exit code of the last command ]###########################
# Enable OK_PIPE, ERROR_PIPE and ERROR_SIGNAL status states to allow us to enable, disable and
# style them independently from the regular OK and ERROR state.


Loading…
Cancel
Save