mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-25 22:22:31 +01:00
Added async docker segment to display number of running, paused and exited containers.
This commit is contained in:
parent
3920940ea8
commit
1878d67bfa
7 changed files with 142 additions and 0 deletions
|
|
@ -100,6 +100,7 @@
|
|||
# battery # internal battery
|
||||
# wifi # wifi speed
|
||||
# example # example user-defined segment (see prompt_example function below)
|
||||
# docker # Docker containers running and exited (https://www.docker.io)
|
||||
)
|
||||
|
||||
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.
|
||||
|
|
@ -1258,6 +1259,12 @@
|
|||
typeset -g POWERLEVEL9K_TERRAFORM_OTHER_BACKGROUND=0
|
||||
# typeset -g POWERLEVEL9K_TERRAFORM_OTHER_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
#############[ docker: shows the whale when online, and the # running and exited containers (https://www.docker.io/) ]#############
|
||||
# typeset -g POWERLEVEL9K_DOCKER_ICON='🐳'
|
||||
# typeset -g POWERLEVEL9K_DOCKER_RUNNING_ICON=''
|
||||
# typeset -g POWERLEVEL9K_DOCKER_PAUSED_ICON=''
|
||||
# typeset -g POWERLEVEL9K_DOCKER_EXITED_ICON=''
|
||||
|
||||
#############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]#############
|
||||
# Show kubecontext only when the the command you are typing invokes one of these tools.
|
||||
# Tip: Remove the next line to always show kubecontext.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue