zsh: Add powerlevel10k config

This commit is contained in:
histalek 2021-07-12 17:19:32 +02:00
parent 91b3c76407
commit fa4eeb21fd
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03
2 changed files with 1621 additions and 1 deletions

1617
.config/p10k/config.zsh Normal file

File diff suppressed because it is too large Load diff

5
.zshrc
View file

@ -14,6 +14,9 @@ export ZSH="$HOME/.oh-my-zsh"
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k" ZSH_THEME="powerlevel10k/powerlevel10k"
# Path to powerlevel10k config file Ref.: https://github.com/romkatv/powerlevel10k/issues/967#issuecomment-678133333
POWERLEVEL9K_CONFIG_FILE="$HOME/.config/p10k/config.zsh"
# Uncomment the following line if pasting URLs and other text is messed up. # Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true # DISABLE_MAGIC_FUNCTIONS=true
@ -58,4 +61,4 @@ setopt completealiases
prompt_context(){} prompt_context(){}
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f "$POWERLEVEL9K_CONFIG_FILE" ]] || source "$POWERLEVEL9K_CONFIG_FILE"