zsh: Add powerlevel10k config
This commit is contained in:
parent
91b3c76407
commit
fa4eeb21fd
2 changed files with 1621 additions and 1 deletions
1617
.config/p10k/config.zsh
Normal file
1617
.config/p10k/config.zsh
Normal file
File diff suppressed because it is too large
Load diff
5
.zshrc
5
.zshrc
|
@ -14,6 +14,9 @@ export ZSH="$HOME/.oh-my-zsh"
|
|||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
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.
|
||||
# DISABLE_MAGIC_FUNCTIONS=true
|
||||
|
||||
|
@ -58,4 +61,4 @@ setopt completealiases
|
|||
prompt_context(){}
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
[[ ! -f "$POWERLEVEL9K_CONFIG_FILE" ]] || source "$POWERLEVEL9K_CONFIG_FILE"
|
||||
|
|
Loading…
Add table
Reference in a new issue