mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
uncomment BACKGROUND and FOREGROUND parameters in p10k-classic.zsh; comments confuse users (#1182)
This commit is contained in:
parent
dd62469cc7
commit
59db4252bb
1 changed files with 118 additions and 117 deletions
|
@ -341,11 +341,11 @@
|
|||
|
||||
#####################################[ vcs: git status ]######################################
|
||||
# Version control system colors.
|
||||
# typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=2
|
||||
# typeset -g POWERLEVEL9K_VCS_MODIFIED_BACKGROUND=3
|
||||
# typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=2
|
||||
# typeset -g POWERLEVEL9K_VCS_CONFLICTED_BACKGROUND=3
|
||||
# typeset -g POWERLEVEL9K_VCS_LOADING_BACKGROUND=8
|
||||
typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=2
|
||||
typeset -g POWERLEVEL9K_VCS_MODIFIED_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=2
|
||||
typeset -g POWERLEVEL9K_VCS_CONFLICTED_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_VCS_LOADING_BACKGROUND=8
|
||||
|
||||
# Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon.
|
||||
typeset -g POWERLEVEL9K_VCS_BRANCH_ICON=
|
||||
|
@ -488,37 +488,37 @@
|
|||
# it will signify success by turning green.
|
||||
typeset -g POWERLEVEL9K_STATUS_OK=true
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_EXPANSION='✔'
|
||||
# typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=2
|
||||
# typeset -g POWERLEVEL9K_STATUS_OK_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_FOREGROUND=2
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_BACKGROUND=0
|
||||
|
||||
# Status when some part of a pipe command fails but the overall exit status is zero. It may look
|
||||
# like this: 1|0.
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_PIPE=true
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_PIPE_VISUAL_IDENTIFIER_EXPANSION='✔'
|
||||
# typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=2
|
||||
# typeset -g POWERLEVEL9K_STATUS_OK_PIPE_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_PIPE_FOREGROUND=2
|
||||
typeset -g POWERLEVEL9K_STATUS_OK_PIPE_BACKGROUND=0
|
||||
|
||||
# Status when it's just an error code (e.g., '1'). No need to show it if prompt_char is enabled as
|
||||
# it will signify error by turning red.
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR=true
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_EXPANSION='✘'
|
||||
# typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_STATUS_ERROR_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_BACKGROUND=1
|
||||
|
||||
# Status when the last command was terminated by a signal.
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL=true
|
||||
# Use terse signal names: "INT" instead of "SIGINT(2)".
|
||||
typeset -g POWERLEVEL9K_STATUS_VERBOSE_SIGNAME=false
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_VISUAL_IDENTIFIER_EXPANSION='✘'
|
||||
# typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_SIGNAL_BACKGROUND=1
|
||||
|
||||
# Status when some part of a pipe command fails and the overall exit status is also non-zero.
|
||||
# It may look like this: 1|0.
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE=true
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_VISUAL_IDENTIFIER_EXPANSION='✘'
|
||||
# typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_STATUS_ERROR_PIPE_BACKGROUND=1
|
||||
|
||||
###################[ command_execution_time: duration of the last command ]###################
|
||||
# Execution time color.
|
||||
|
@ -537,8 +537,8 @@
|
|||
|
||||
#######################[ background_jobs: presence of background jobs ]#######################
|
||||
# Background jobs color.
|
||||
# typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=6
|
||||
# typeset -g POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=6
|
||||
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND=0
|
||||
# Don't show the number of background jobs.
|
||||
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false
|
||||
# Custom icon.
|
||||
|
@ -546,8 +546,8 @@
|
|||
|
||||
#######################[ direnv: direnv status (https://direnv.net/) ]########################
|
||||
# Direnv color.
|
||||
# typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_DIRENV_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_DIRENV_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_DIRENV_BACKGROUND=0
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_DIRENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -711,8 +711,8 @@
|
|||
|
||||
##########[ nordvpn: nordvpn connection status, linux only (https://nordvpn.com/) ]###########
|
||||
# NordVPN connection indicator color.
|
||||
# typeset -g POWERLEVEL9K_NORDVPN_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_NORDVPN_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_NORDVPN_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_NORDVPN_BACKGROUND=4
|
||||
# Hide NordVPN connection indicator when not connected.
|
||||
typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_CONTENT_EXPANSION=
|
||||
typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_VISUAL_IDENTIFIER_EXPANSION=
|
||||
|
@ -721,36 +721,36 @@
|
|||
|
||||
#################[ ranger: ranger shell (https://github.com/ranger/ranger) ]##################
|
||||
# Ranger shell color.
|
||||
# typeset -g POWERLEVEL9K_RANGER_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_RANGER_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_RANGER_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_RANGER_BACKGROUND=0
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]#######################
|
||||
# Nnn shell color.
|
||||
# typeset -g POWERLEVEL9K_NNN_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_NNN_BACKGROUND=6
|
||||
typeset -g POWERLEVEL9K_NNN_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_NNN_BACKGROUND=6
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_NNN_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
###########################[ vim_shell: vim shell indicator (:sh) ]###########################
|
||||
# Vim shell indicator color.
|
||||
# typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_VIM_SHELL_BACKGROUND=2
|
||||
typeset -g POWERLEVEL9K_VIM_SHELL_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_VIM_SHELL_BACKGROUND=2
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_VIM_SHELL_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
######[ midnight_commander: midnight commander shell (https://midnight-commander.org/) ]######
|
||||
# Midnight Commander shell color.
|
||||
# typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_BACKGROUND=0
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
#[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]##
|
||||
# Nix shell color.
|
||||
# typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_NIX_SHELL_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_NIX_SHELL_BACKGROUND=4
|
||||
|
||||
# Tip: If you want to see just the icon without "pure" and "impure", uncomment the next line.
|
||||
# typeset -g POWERLEVEL9K_NIX_SHELL_CONTENT_EXPANSION=
|
||||
|
@ -760,12 +760,12 @@
|
|||
|
||||
##################################[ disk_usage: disk usage ]##################################
|
||||
# Colors for different levels of disk usage.
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_BACKGROUND=0
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_BACKGROUND=3
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_BACKGROUND=1
|
||||
# Thresholds for different levels of disk usage (percentage points).
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95
|
||||
|
@ -792,15 +792,15 @@
|
|||
|
||||
######################################[ ram: free RAM ]#######################################
|
||||
# RAM color.
|
||||
# typeset -g POWERLEVEL9K_RAM_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_RAM_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_RAM_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_RAM_BACKGROUND=3
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
#####################################[ swap: used swap ]######################################
|
||||
# Swap color.
|
||||
# typeset -g POWERLEVEL9K_SWAP_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_SWAP_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_SWAP_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_SWAP_BACKGROUND=3
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -808,21 +808,21 @@
|
|||
# Show average CPU load over this many last minutes. Valid values are 1, 5 and 15.
|
||||
typeset -g POWERLEVEL9K_LOAD_WHICH=5
|
||||
# Load color when load is under 50%.
|
||||
# typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_LOAD_NORMAL_BACKGROUND=2
|
||||
typeset -g POWERLEVEL9K_LOAD_NORMAL_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_LOAD_NORMAL_BACKGROUND=2
|
||||
# Load color when load is between 50% and 70%.
|
||||
# typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_LOAD_WARNING_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_LOAD_WARNING_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_LOAD_WARNING_BACKGROUND=3
|
||||
# Load color when load is over 70%.
|
||||
# typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND=1
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_LOAD_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
################[ todo: todo items (https://github.com/todotxt/todo.txt-cli) ]################
|
||||
# Todo color.
|
||||
# typeset -g POWERLEVEL9K_TODO_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_TODO_BACKGROUND=8
|
||||
typeset -g POWERLEVEL9K_TODO_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_TODO_BACKGROUND=8
|
||||
# Hide todo when the total number of tasks is zero.
|
||||
typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true
|
||||
# Hide todo when the number of tasks after filtering is zero.
|
||||
|
@ -846,8 +846,8 @@
|
|||
|
||||
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
||||
# Timewarrior color.
|
||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=255
|
||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_BACKGROUND=8
|
||||
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=255
|
||||
typeset -g POWERLEVEL9K_TIMEWARRIOR_BACKGROUND=8
|
||||
|
||||
# If the tracked task is longer than 24 characters, truncate and append "…".
|
||||
# Tip: To always display tasks without truncation, delete the following parameter.
|
||||
|
@ -860,8 +860,8 @@
|
|||
|
||||
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
||||
# Taskwarrior color.
|
||||
# typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_TASKWARRIOR_BACKGROUND=6
|
||||
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_TASKWARRIOR_BACKGROUND=6
|
||||
|
||||
# Taskwarrior segment format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
@ -908,8 +908,8 @@
|
|||
|
||||
###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]###
|
||||
# Python virtual environment color.
|
||||
# typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_VIRTUALENV_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_VIRTUALENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_VIRTUALENV_BACKGROUND=4
|
||||
# Don't show Python version next to the virtual environment name.
|
||||
typeset -g POWERLEVEL9K_VIRTUALENV_SHOW_PYTHON_VERSION=false
|
||||
# If set to "false", won't show virtualenv if pyenv is already shown.
|
||||
|
@ -922,8 +922,8 @@
|
|||
|
||||
#####################[ anaconda: conda environment (https://conda.io/) ]######################
|
||||
# Anaconda environment color.
|
||||
# typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_ANACONDA_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_ANACONDA_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_ANACONDA_BACKGROUND=4
|
||||
|
||||
# Anaconda segment format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
@ -956,8 +956,8 @@
|
|||
|
||||
################[ pyenv: python environment (https://github.com/pyenv/pyenv) ]################
|
||||
# Pyenv color.
|
||||
# typeset -g POWERLEVEL9K_PYENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_PYENV_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_PYENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_PYENV_BACKGROUND=4
|
||||
# Hide python version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_PYENV_SOURCES=(shell local global)
|
||||
# If set to false, hide python version if it's the same as global:
|
||||
|
@ -983,8 +983,8 @@
|
|||
|
||||
################[ goenv: go environment (https://github.com/syndbg/goenv) ]################
|
||||
# Goenv color.
|
||||
# typeset -g POWERLEVEL9K_GOENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_GOENV_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_GOENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_GOENV_BACKGROUND=4
|
||||
# Hide go version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_GOENV_SOURCES=(shell local global)
|
||||
# If set to false, hide go version if it's the same as global:
|
||||
|
@ -997,8 +997,8 @@
|
|||
|
||||
##########[ nodenv: node.js version from nodenv (https://github.com/nodenv/nodenv) ]##########
|
||||
# Nodenv color.
|
||||
# typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2
|
||||
# typeset -g POWERLEVEL9K_NODENV_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_NODENV_FOREGROUND=2
|
||||
typeset -g POWERLEVEL9K_NODENV_BACKGROUND=0
|
||||
# Hide node version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_NODENV_SOURCES=(shell local global)
|
||||
# If set to false, hide node version if it's the same as global:
|
||||
|
@ -1011,15 +1011,15 @@
|
|||
|
||||
##############[ nvm: node.js version from nvm (https://github.com/nvm-sh/nvm) ]###############
|
||||
# Nvm color.
|
||||
# typeset -g POWERLEVEL9K_NVM_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_NVM_BACKGROUND=5
|
||||
typeset -g POWERLEVEL9K_NVM_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_NVM_BACKGROUND=5
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_NVM_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
############[ nodeenv: node.js environment (https://github.com/ekalinin/nodeenv) ]############
|
||||
# Nodeenv color.
|
||||
# typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=2
|
||||
# typeset -g POWERLEVEL9K_NODEENV_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_NODEENV_FOREGROUND=2
|
||||
typeset -g POWERLEVEL9K_NODEENV_BACKGROUND=0
|
||||
# Don't show Node version next to the environment name.
|
||||
typeset -g POWERLEVEL9K_NODEENV_SHOW_NODE_VERSION=false
|
||||
# Separate environment name from Node version only with a space.
|
||||
|
@ -1029,8 +1029,8 @@
|
|||
|
||||
##############################[ node_version: node.js version ]###############################
|
||||
# Node version color.
|
||||
# typeset -g POWERLEVEL9K_NODE_VERSION_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_NODE_VERSION_BACKGROUND=2
|
||||
typeset -g POWERLEVEL9K_NODE_VERSION_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_NODE_VERSION_BACKGROUND=2
|
||||
# Show node version only when in a directory tree containing package.json.
|
||||
typeset -g POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY=true
|
||||
# Custom icon.
|
||||
|
@ -1038,8 +1038,8 @@
|
|||
|
||||
#######################[ go_version: go version (https://golang.org) ]########################
|
||||
# Go version color.
|
||||
# typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=255
|
||||
# typeset -g POWERLEVEL9K_GO_VERSION_BACKGROUND=2
|
||||
typeset -g POWERLEVEL9K_GO_VERSION_FOREGROUND=255
|
||||
typeset -g POWERLEVEL9K_GO_VERSION_BACKGROUND=2
|
||||
# Show go version only when in a go project subdirectory.
|
||||
typeset -g POWERLEVEL9K_GO_VERSION_PROJECT_ONLY=true
|
||||
# Custom icon.
|
||||
|
@ -1047,8 +1047,8 @@
|
|||
|
||||
#################[ rust_version: rustc version (https://www.rust-lang.org) ]##################
|
||||
# Rust version color.
|
||||
# typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_RUST_VERSION_BACKGROUND=208
|
||||
typeset -g POWERLEVEL9K_RUST_VERSION_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_RUST_VERSION_BACKGROUND=208
|
||||
# Show rust version only when in a rust project subdirectory.
|
||||
typeset -g POWERLEVEL9K_RUST_VERSION_PROJECT_ONLY=true
|
||||
# Custom icon.
|
||||
|
@ -1056,8 +1056,8 @@
|
|||
|
||||
###############[ dotnet_version: .NET version (https://dotnet.microsoft.com) ]################
|
||||
# .NET version color.
|
||||
# typeset -g POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_DOTNET_VERSION_BACKGROUND=5
|
||||
typeset -g POWERLEVEL9K_DOTNET_VERSION_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_DOTNET_VERSION_BACKGROUND=5
|
||||
# Show .NET version only when in a .NET project subdirectory.
|
||||
typeset -g POWERLEVEL9K_DOTNET_VERSION_PROJECT_ONLY=true
|
||||
# Custom icon.
|
||||
|
@ -1081,8 +1081,8 @@
|
|||
|
||||
#############[ rbenv: ruby version from rbenv (https://github.com/rbenv/rbenv) ]##############
|
||||
# Rbenv color.
|
||||
# typeset -g POWERLEVEL9K_RBENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_RBENV_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_RBENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_RBENV_BACKGROUND=1
|
||||
# Hide ruby version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_RBENV_SOURCES=(shell local global)
|
||||
# If set to false, hide ruby version if it's the same as global:
|
||||
|
@ -1106,8 +1106,8 @@
|
|||
|
||||
###[ package: name@version from package.json (https://docs.npmjs.com/files/package.json) ]####
|
||||
# Package color.
|
||||
# typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_PACKAGE_BACKGROUND=6
|
||||
typeset -g POWERLEVEL9K_PACKAGE_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_PACKAGE_BACKGROUND=6
|
||||
|
||||
# Package format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
@ -1121,8 +1121,8 @@
|
|||
|
||||
#######################[ rvm: ruby version from rvm (https://rvm.io) ]########################
|
||||
# Rvm color.
|
||||
# typeset -g POWERLEVEL9K_RVM_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_RVM_BACKGROUND=240
|
||||
typeset -g POWERLEVEL9K_RVM_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_RVM_BACKGROUND=240
|
||||
# Don't show @gemset at the end.
|
||||
typeset -g POWERLEVEL9K_RVM_SHOW_GEMSET=false
|
||||
# Don't show ruby- at the front.
|
||||
|
@ -1132,15 +1132,15 @@
|
|||
|
||||
###########[ fvm: flutter version management (https://github.com/leoafarias/fvm) ]############
|
||||
# Fvm color.
|
||||
# typeset -g POWERLEVEL9K_FVM_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_FVM_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_FVM_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_FVM_BACKGROUND=4
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_FVM_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
##########[ luaenv: lua version from luaenv (https://github.com/cehoffman/luaenv) ]###########
|
||||
# Lua color.
|
||||
# typeset -g POWERLEVEL9K_LUAENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_LUAENV_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_LUAENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_LUAENV_BACKGROUND=4
|
||||
# Hide lua version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_LUAENV_SOURCES=(shell local global)
|
||||
# If set to false, hide lua version if it's the same as global:
|
||||
|
@ -1153,8 +1153,8 @@
|
|||
|
||||
###############[ jenv: java version from jenv (https://github.com/jenv/jenv) ]################
|
||||
# Java color.
|
||||
# typeset -g POWERLEVEL9K_JENV_FOREGROUND=1
|
||||
# typeset -g POWERLEVEL9K_JENV_BACKGROUND=7
|
||||
typeset -g POWERLEVEL9K_JENV_FOREGROUND=1
|
||||
typeset -g POWERLEVEL9K_JENV_BACKGROUND=7
|
||||
# Hide java version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_JENV_SOURCES=(shell local global)
|
||||
# If set to false, hide java version if it's the same as global:
|
||||
|
@ -1167,8 +1167,8 @@
|
|||
|
||||
###########[ plenv: perl version from plenv (https://github.com/tokuhirom/plenv) ]############
|
||||
# Perl color.
|
||||
# typeset -g POWERLEVEL9K_PLENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_PLENV_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_PLENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_PLENV_BACKGROUND=4
|
||||
# Hide perl version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_PLENV_SOURCES=(shell local global)
|
||||
# If set to false, hide perl version if it's the same as global:
|
||||
|
@ -1181,8 +1181,8 @@
|
|||
|
||||
############[ phpenv: php version from phpenv (https://github.com/phpenv/phpenv) ]############
|
||||
# PHP color.
|
||||
# typeset -g POWERLEVEL9K_PHPENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_PHPENV_BACKGROUND=5
|
||||
typeset -g POWERLEVEL9K_PHPENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_PHPENV_BACKGROUND=5
|
||||
# Hide php version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_PHPENV_SOURCES=(shell local global)
|
||||
# If set to false, hide php version if it's the same as global:
|
||||
|
@ -1195,8 +1195,8 @@
|
|||
|
||||
#######[ scalaenv: scala version from scalaenv (https://github.com/scalaenv/scalaenv) ]#######
|
||||
# Scala color.
|
||||
# typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_SCALAENV_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_SCALAENV_BACKGROUND=1
|
||||
# Hide scala version if it doesn't come from one of these sources.
|
||||
typeset -g POWERLEVEL9K_SCALAENV_SOURCES=(shell local global)
|
||||
# If set to false, hide scala version if it's the same as global:
|
||||
|
@ -1209,8 +1209,8 @@
|
|||
|
||||
##########[ haskell_stack: haskell version from stack (https://haskellstack.org/) ]###########
|
||||
# Haskell color.
|
||||
# typeset -g POWERLEVEL9K_HASKELL_STACK_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_HASKELL_STACK_BACKGROUND=3
|
||||
typeset -g POWERLEVEL9K_HASKELL_STACK_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_HASKELL_STACK_BACKGROUND=3
|
||||
|
||||
# Hide haskell version if it doesn't come from one of these sources.
|
||||
#
|
||||
|
@ -1379,14 +1379,14 @@
|
|||
# '*prod*' PROD # These values are examples that are unlikely
|
||||
# '*test*' TEST # to match your needs. Customize them as needed.
|
||||
'*' DEFAULT)
|
||||
# typeset -g POWERLEVEL9K_AWS_DEFAULT_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_AWS_DEFAULT_BACKGROUND=1
|
||||
typeset -g POWERLEVEL9K_AWS_DEFAULT_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_AWS_DEFAULT_BACKGROUND=1
|
||||
# typeset -g POWERLEVEL9K_AWS_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
#[ aws_eb_env: aws elastic beanstalk environment (https://aws.amazon.com/elasticbeanstalk/) ]#
|
||||
# AWS Elastic Beanstalk environment color.
|
||||
# typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=2
|
||||
# typeset -g POWERLEVEL9K_AWS_EB_ENV_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=2
|
||||
typeset -g POWERLEVEL9K_AWS_EB_ENV_BACKGROUND=0
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -1395,8 +1395,8 @@
|
|||
# Tip: Remove the next line to always show azure.
|
||||
typeset -g POWERLEVEL9K_AZURE_SHOW_ON_COMMAND='az|terraform|pulumi|terragrunt'
|
||||
# Azure account name color.
|
||||
# typeset -g POWERLEVEL9K_AZURE_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_AZURE_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_AZURE_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_AZURE_BACKGROUND=4
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -1405,8 +1405,8 @@
|
|||
# Tip: Remove the next line to always show gcloud.
|
||||
typeset -g POWERLEVEL9K_GCLOUD_SHOW_ON_COMMAND='gcloud|gcs'
|
||||
# Google cloud color.
|
||||
# typeset -g POWERLEVEL9K_GCLOUD_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_GCLOUD_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_GCLOUD_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_GCLOUD_BACKGROUND=4
|
||||
|
||||
# Google cloud format. Change the value of POWERLEVEL9K_GCLOUD_PARTIAL_CONTENT_EXPANSION and/or
|
||||
# POWERLEVEL9K_GCLOUD_COMPLETE_CONTENT_EXPANSION if the default is too verbose or not informative
|
||||
|
@ -1477,8 +1477,8 @@
|
|||
# '*:*prod*:*' PROD # These values are examples that are unlikely
|
||||
# '*:*test*:*' TEST # to match your needs. Customize them as needed.
|
||||
'*' DEFAULT)
|
||||
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_BACKGROUND=4
|
||||
# typeset -g POWERLEVEL9K_GOOGLE_APP_CRED_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
# Use POWERLEVEL9K_GOOGLE_APP_CRED_CONTENT_EXPANSION to specify the content displayed by
|
||||
|
@ -1499,15 +1499,15 @@
|
|||
|
||||
###############################[ public_ip: public IP address ]###############################
|
||||
# Public IP color.
|
||||
# typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_PUBLIC_IP_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_PUBLIC_IP_FOREGROUND=7
|
||||
typeset -g POWERLEVEL9K_PUBLIC_IP_BACKGROUND=0
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
########################[ vpn_ip: virtual private network indicator ]#########################
|
||||
# VPN IP color.
|
||||
# typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_VPN_IP_BACKGROUND=6
|
||||
typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_VPN_IP_BACKGROUND=6
|
||||
# When on VPN, show just an icon without the IP address.
|
||||
# Tip: To display the private IP address when on VPN, remove the next line.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=
|
||||
|
@ -1544,8 +1544,8 @@
|
|||
|
||||
#########################[ proxy: system-wide http/https/ftp proxy ]##########################
|
||||
# Proxy color.
|
||||
# typeset -g POWERLEVEL9K_PROXY_FOREGROUND=4
|
||||
# typeset -g POWERLEVEL9K_PROXY_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_PROXY_FOREGROUND=4
|
||||
typeset -g POWERLEVEL9K_PROXY_BACKGROUND=0
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PROXY_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -1561,12 +1561,12 @@
|
|||
typeset -g POWERLEVEL9K_BATTERY_STAGES=('%K{232}▁' '%K{232}▂' '%K{232}▃' '%K{232}▄' '%K{232}▅' '%K{232}▆' '%K{232}▇' '%K{232}█')
|
||||
# Don't show the remaining time to charge/discharge.
|
||||
typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false
|
||||
# typeset -g POWERLEVEL9K_BATTERY_BACKGROUND=0
|
||||
typeset -g POWERLEVEL9K_BATTERY_BACKGROUND=0
|
||||
|
||||
#####################################[ wifi: wifi speed ]#####################################
|
||||
# WiFi color.
|
||||
# typeset -g POWERLEVEL9K_WIFI_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_WIFI_BACKGROUND=4
|
||||
typeset -g POWERLEVEL9K_WIFI_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_WIFI_BACKGROUND=4
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_WIFI_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -1592,8 +1592,8 @@
|
|||
|
||||
####################################[ time: current time ]####################################
|
||||
# Current time color.
|
||||
# typeset -g POWERLEVEL9K_TIME_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_TIME_BACKGROUND=7
|
||||
typeset -g POWERLEVEL9K_TIME_FOREGROUND=0
|
||||
typeset -g POWERLEVEL9K_TIME_BACKGROUND=7
|
||||
# Format for the current time: 09:51:02. See `man 3 strftime`.
|
||||
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
|
||||
# If set to true, time will update when you hit enter. This way prompts for the past
|
||||
|
@ -1635,7 +1635,8 @@
|
|||
}
|
||||
|
||||
# User-defined prompt segments can be customized the same way as built-in segments.
|
||||
# typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_EXAMPLE_BACKGROUND=1
|
||||
# typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
# Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt
|
||||
|
|
Loading…
Reference in a new issue