2020-01-10 16:16:40 +01:00
|
|
|
setopt correct_all
|
2020-01-10 16:30:27 +01:00
|
|
|
autoload -U compinit && compinit
|
2020-01-10 17:56:45 +01:00
|
|
|
autoload -U promptinit && promptinit
|
2020-01-10 16:30:27 +01:00
|
|
|
if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
|
|
|
|
alias ls='ls -G'
|
|
|
|
elif [[ "$OSTYPE" == linux* ]]; then
|
|
|
|
alias ls='ls --color=tty'
|
|
|
|
fi
|
2020-01-10 16:11:15 +01:00
|
|
|
alias ll='ls -lh'
|
|
|
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
2020-01-10 17:56:45 +01:00
|
|
|
source ~/.dotfiles/zsh/k8s.zsh
|
2020-01-10 15:12:24 +01:00
|
|
|
SLIMLINE_USER_HOST_INFO_FORMAT="%F{green}|user|%F{white}@%F{cyan}|host|%f"
|
2020-01-10 15:39:07 +01:00
|
|
|
SLIMLINE_USER_HOST_INFO_ROOT_FORMAT="%F{red}|user|%F{white}@%F{cyan}|host|%f"
|
2020-01-10 17:56:45 +01:00
|
|
|
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"
|
2020-01-10 15:12:24 +01:00
|
|
|
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
|
2020-01-10 17:56:45 +01:00
|
|
|
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
|
|
|
|
SLIMLINE_RIGHT_PROMPT_SECTIONS="|default| k8s_context"
|
2020-01-10 15:12:24 +01:00
|
|
|
SLIMLINE_MAX_EXEC_TIME=2
|
2020-01-10 17:56:45 +01:00
|
|
|
source ~/.zsh/themes/slimline/slimline.zsh
|
2020-01-10 15:12:24 +01:00
|
|
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|