Slimline cleaning.
This commit is contained in:
parent
ab5b7794a7
commit
838c6d6c75
@ -2,12 +2,12 @@
|
||||
source ~/.dotfiles/zsh/slimline_k8s_ctx.zsh
|
||||
source ~/.dotfiles/zsh/slimline_k8s_ns.zsh
|
||||
|
||||
SLIMLINE_LEFT_PROMPT_SECTIONS="user_host_info cwd symbol"
|
||||
SLIMLINE_RIGHT_PROMPT_SECTIONS="exit_status execution_time git virtualenv aws_profile k8s_context k8s_namespace"
|
||||
SLIMLINE_RIGHT_PROMPT_SECTIONS=""
|
||||
SLIMLINE_LEFT_PROMPT_SECTIONS="virtualenv aws_profile k8s_context k8s_namespace cwd git exit_status execution_time newline user_host_info symbol"
|
||||
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_VIRTUALENV_FORMAT="venv:%F{blue}|basename|%f"
|
||||
SLIMLINE_AWS_PROFILE_FORMAT="aws:%F{blue}|profile|%f"
|
||||
SLIMLINE_VIRTUALENV_FORMAT="%F{cyan}\UE73C |basename|%f"
|
||||
SLIMLINE_AWS_PROFILE_FORMAT="%F{yellow} \uF270 |profile|%f"
|
||||
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
|
||||
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
|
||||
SLIMLINE_MAX_EXEC_TIME=2
|
||||
|
@ -13,6 +13,6 @@ slimline::section::k8s_context::async_task_complete() {
|
||||
slimline::section::k8s_context::render() {
|
||||
[[ -z "${slimline_section_k8s_context_output}" ]] && return
|
||||
|
||||
slimline::utils::expand "k8s_context" "ctx:%F{blue}|output|%f" \
|
||||
slimline::utils::expand "k8s_context" "%F{blue}\U2388 |output|%f" \
|
||||
"output" "${slimline_section_k8s_context_output}"
|
||||
}
|
||||
|
@ -13,6 +13,6 @@ slimline::section::k8s_namespace::async_task_complete() {
|
||||
slimline::section::k8s_namespace::render() {
|
||||
[[ -z "${slimline_section_k8s_namespace_output}" ]] && return
|
||||
|
||||
slimline::utils::expand "k8s_namespace" "ns:%F{blue}|output|%f" \
|
||||
slimline::utils::expand "k8s_namespace" "(%F{blue}|output|%f)" \
|
||||
"output" "${slimline_section_k8s_namespace_output}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user