Migration to slimline.

This commit is contained in:
Bartek Stalewski 2020-01-10 15:12:24 +01:00
parent 9c47fdf972
commit 622b9327d2
5 changed files with 47 additions and 31 deletions

15
legacy/agnoster.zsh Normal file
View file

@ -0,0 +1,15 @@
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
CASE_SENSITIVE="true"
ENABLE_CORRECTION="true"
plugins=(git kube-ps1 command-time zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
export DEFAULT_USER=$LOGNAME
source ~/.dotfiles/zsh/abbr_pwd
prompt_dir() {
prompt_segment blue $CURRENT_FG $(felix_pwd_abbr)
}
PROMPT=$PROMPT'$(kube_ps1) '
ZSH_COMMAND_TIME_MIN_SECONDS=2
ZSH_COMMAND_TIME_MSG="(took $fg[yellow]%s$fg[default])"
[ -e ~/.zshrc.local ] && source ~/.zshrc.local