no icons ;-)

This commit is contained in:
Bartek Stalewski 2020-01-10 23:06:53 +01:00
parent 28fa084832
commit f18f05513b
2 changed files with 10 additions and 4 deletions

View File

@ -14,6 +14,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" "[☸️ %F{blue}|output|%f]" \
slimline::utils::expand "k8s_context" "[k8s:%F{blue}|output|%f]" \
"output" "${slimline_section_k8s_context_output}" \
}

View File

@ -1,22 +1,28 @@
setopt correct_all
autoload -U compinit && compinit
autoload -U promptinit && promptinit
setopt correct_all
zstyle ':completion:*' menu select
if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
alias ls='ls -G'
elif [[ "$OSTYPE" == linux* ]]; then
alias ls='ls --color=tty'
fi
alias ll='ls -lh'
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.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_ROOT_FORMAT="%F{red}|user|%F{white}@%F{cyan}|host|%f"
SLIMLINE_VIRTUALENV_FORMAT="%F{white}[🐍 %F{blue}|basename|%F{white}]%f"
SLIMLINE_AWS_PROFILE_FORMAT="%F{white}[☁️ %F{blue}|profile|%F{white}]%f" # unicode 2601
SLIMLINE_VIRTUALENV_FORMAT="%F{white}[venv:%F{blue}|basename|%F{white}]%f"
SLIMLINE_AWS_PROFILE_FORMAT="%F{white}[aws:%F{blue}|profile|%F{white}]%f"
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
SLIMLINE_MAX_EXEC_TIME=2
source ~/.zsh/themes/slimline/slimline.zsh
[ -e ~/.zshrc.local ] && source ~/.zshrc.local