diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index d7331193..045eb4bc 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -1195,11 +1195,11 @@ #############[ 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_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_PAUSED_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_EXITED_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_PAUSE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_EXIT_ICON='' #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index 4a3b57d3..948fd2f3 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.zsh @@ -1143,11 +1143,11 @@ #############[ 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_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_PAUSED_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_EXITED_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_PAUSE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_EXIT_ICON='' #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 871eb1ef..6e022763 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -1139,11 +1139,11 @@ #############[ 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_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_PAUSED_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_EXITED_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_PAUSE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_EXIT_ICON='' #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 3b0e4545..dcf9150d 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -1261,11 +1261,11 @@ #############[ 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_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_RUNNING_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_PAUSED_ICON='' - # typeset -g POWERLEVEL9K_DOCKER_EXITED_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_ONLINE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_PAUSE_ICON='' + # typeset -g POWERLEVEL9K_DOCKER_CONTAINER_EXIT_ICON='' #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 8f1b551a..815d620a 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -1315,17 +1315,14 @@ function _p9k_prompt_docker_async() { _p9k__docker_up=1 done - _p9k_get_icon '' DOCKER_CONTAINER_ONLINE_ICON (( ${container_status_counts[U]} )) && \ - _p9k__docker_segment="%F{green}${POWERLEVEL9K_DOCKER_RUNNING_ICON:-$_p9k__ret} ${container_status_counts[U]} %f" + _p9k__docker_segment="%F{green}$(print_icon 'DOCKER_CONTAINER_ONLINE_ICON') ${container_status_counts[U]} %f" - _p9k_get_icon '' DOCKER_CONTAINER_PAUSE_ICON (( ${container_status_counts[P]} )) && \ - _p9k__docker_segment+="%F{yellow}${POWERLEVEL9K_DOCKER_PAUSED_ICON:-$_p9k__ret} ${container_status_counts[P]} %f" + _p9k__docker_segment+="%F{yellow}$(print_icon 'DOCKER_CONTAINER_PAUSE_ICON') ${container_status_counts[P]} %f" - _p9k_get_icon '' DOCKER_CONTAINER_EXIT_ICON (( ${container_status_counts[E]} )) && \ - _p9k__docker_segment+="%F{red}${POWERLEVEL9K_DOCKER_EXITED_ICON:-$_p9k__ret} ${container_status_counts[E]} %f" + _p9k__docker_segment+="%F{red}$(print_icon 'DOCKER_CONTAINER_EXIT_ICON') ${container_status_counts[E]} %f" # All vars that may have changed state must be sent to _p9k_print_params _p9k_print_params \