add zsh10K

This commit is contained in:
vincent 2020-05-25 19:29:50 +02:00
parent 22f55fbe6f
commit 0875e4e6b6

View File

@ -1,3 +1,10 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
zstyle :omz:plugins:ssh-agent agent-forwarding on zstyle :omz:plugins:ssh-agent agent-forwarding on
# #
export SSH_KEY_PATH="~/.ssh/rsa_id" export SSH_KEY_PATH="~/.ssh/rsa_id"
@ -98,3 +105,5 @@ for file in ~/.zshrc.d/*; do
source "$file" source "$file"
done done
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh