diff options
author | Alexander <a.kiryukhin@vk.team> | 2024-07-26 16:30:17 +0300 |
---|---|---|
committer | Alexander <a.kiryukhin@vk.team> | 2024-07-26 16:30:17 +0300 |
commit | 7482175e83da7d298c5ba22882b5cd7540160917 (patch) | |
tree | 0b6e6ae987671f2610cf4a54f4791038b5eb0084 /zsh/zshrc | |
parent | cd2c89282c8c0e0700b852d6bbdb769bc3f1aded (diff) |
p10k update
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,13 +1,10 @@ source ~/.config/zsh/antigen.zsh -if [[ ! -a ~/.zshrc.local ]]; then - source ~/.zshrc.local -fi if command -v git >/dev/null && [ ! -d ~/.config/zsh/powerlevel10k ]; then echo "info: installing p10k" git clone --depth 1 --single-branch https://github.com/romkatv/powerlevel10k.git ~/.config/zsh/powerlevel10k fi - +source ~/.config/zsh/powerlevel10k/powerlevel10k.zsh-theme if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" @@ -357,4 +354,5 @@ if [ -f env.sh ]; then source ./env.sh fi +[[ ! -f ~/.zshrc.local ]] || source ~/.zshrc.local [[ ! -f ~/.config/zsh/p10k.zsh ]] || source ~/.config/zsh/p10k.zsh |