This commit is contained in:
Bartek Stalewski 2020-01-10 22:36:48 +01:00
parent 49c58da9f5
commit 28fa084832
2 changed files with 4 additions and 4 deletions

View file

@ -14,6 +14,6 @@ slimline::section::k8s_context::async_task_complete() {
slimline::section::k8s_context::render() { slimline::section::k8s_context::render() {
[[ -z "${slimline_section_k8s_context_output}" ]] && return [[ -z "${slimline_section_k8s_context_output}" ]] && return
slimline::utils::expand "k8s_context" "[k8s:%F{blue}|output|%f]" \ slimline::utils::expand "k8s_context" "[☸️ %F{blue}|output|%f]" \
"output" "${slimline_section_k8s_context_output}" \ "output" "${slimline_section_k8s_context_output}" \
} }

View file

@ -10,13 +10,13 @@ alias ll='ls -lh'
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.dotfiles/zsh/k8s.zsh source ~/.dotfiles/zsh/k8s.zsh
SLIMLINE_RIGHT_PROMPT_SECTIONS="execution_time git aws_profile virtualenv k8s_context"
SLIMLINE_USER_HOST_INFO_FORMAT="%F{green}|user|%F{white}@%F{cyan}|host|%f" SLIMLINE_USER_HOST_INFO_FORMAT="%F{green}|user|%F{white}@%F{cyan}|host|%f"
SLIMLINE_USER_HOST_INFO_ROOT_FORMAT="%F{red}|user|%F{white}@%F{cyan}|host|%f" SLIMLINE_USER_HOST_INFO_ROOT_FORMAT="%F{red}|user|%F{white}@%F{cyan}|host|%f"
SLIMLINE_VIRTUALENV_FORMAT="%F{white}[venv:%F{blue}|basename|%F{white}]%f" SLIMLINE_VIRTUALENV_FORMAT="%F{white}[🐍 %F{blue}|basename|%F{white}]%f"
SLIMLINE_AWS_PROFILE_FORMAT="%F{white}[aws:%F{blue}|profile|%F{white}]%f" SLIMLINE_AWS_PROFILE_FORMAT="%F{white}[☁️ %F{blue}|profile|%F{white}]%f" # unicode 2601
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f" SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f" SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
SLIMLINE_RIGHT_PROMPT_SECTIONS="|default| k8s_context"
SLIMLINE_MAX_EXEC_TIME=2 SLIMLINE_MAX_EXEC_TIME=2
source ~/.zsh/themes/slimline/slimline.zsh source ~/.zsh/themes/slimline/slimline.zsh
[ -e ~/.zshrc.local ] && source ~/.zshrc.local [ -e ~/.zshrc.local ] && source ~/.zshrc.local