Added async docker segment to display number of running, paused and exited containers.

This commit is contained in:
Richard Ziegler 2021-03-08 00:14:49 -05:00
commit 1878d67bfa
7 changed files with 142 additions and 0 deletions

View file

@ -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.