Fix p10k include

This commit is contained in:
Tim
2020-01-24 16:08:38 +01:00
parent 5955e04a32
commit e6b0199bac
30 changed files with 16882 additions and 22 deletions

View File

@ -79,6 +79,19 @@ plugins=(git)
source $ZSH/oh-my-zsh.sh
# Autocomplete ssh from .ssh/config and .ssh/known_hosts
h=()
if [[ -r ~/.ssh/config ]]; then
h=($h ${${${(@M)${(f)"$(cat ~/.ssh/config)"}:#Host *}#Host }:#*[*?]*})
fi
if [[ -r ~/.ssh/known_hosts ]]; then
h=($h ${${${(f)"$(cat ~/.ssh/known_hosts{,2} || true)"}%%\ *}%%,*}) 2>/dev/null
fi
if [[ $#h -gt 0 ]]; then
zstyle ':completion:*:ssh:*' hosts $h
zstyle ':completion:*:slogin:*' hosts $h
fi
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
@ -107,3 +120,10 @@ source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
export PATH="$HOME/LetsTalk/projects/devdocker/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/bin:$PATH"
# Autocomplete kubectx/kubens
autoload -U compinit && compinit