k8s support
This commit is contained in:
parent
7772bf30b3
commit
9021ae76f3
@ -1,5 +1,6 @@
|
||||
setopt correct_all
|
||||
autoload -U compinit && compinit
|
||||
autoload -U promptinit && promptinit
|
||||
if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
|
||||
alias ls='ls -G'
|
||||
elif [[ "$OSTYPE" == linux* ]]; then
|
||||
@ -8,10 +9,14 @@ fi
|
||||
alias ll='ls -lh'
|
||||
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source ~/.zsh/themes/slimline/slimline.zsh
|
||||
source ~/.dotfiles/zsh/k8s.zsh
|
||||
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}[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{white}➜%f"
|
||||
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
|
||||
SLIMLINE_RIGHT_PROMPT_SECTIONS="|default| k8s_context"
|
||||
SLIMLINE_MAX_EXEC_TIME=2
|
||||
source ~/.zsh/themes/slimline/slimline.zsh
|
||||
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
||||
|
Loading…
Reference in New Issue
Block a user