Fixed zsh config

This commit is contained in:
Alexander NeonXP Kiryukhin 2025-04-22 21:01:06 +03:00
parent d3f1e6bd6c
commit 9ce255278b
Signed by: NeonXP
SSH key fingerprint: SHA256:bAqbbz5sY7K90Uveld+WEnACq6XEld+yWKqJQtldh44
2 changed files with 219 additions and 226 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,13 +4,12 @@ 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"
fi
source ~/.config/zsh/powerlevel10k/powerlevel10k.zsh-theme
source ~/.config/zsh/p10k/powerlevel10k.zsh-theme
source ~/.config/zsh/p10k.zsh
antigen bundle zsh-users/zsh-syntax-highlighting
@ -18,7 +17,7 @@ antigen bundle zsh-users/zsh-history-substring-search
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen bundle ael-code/zsh-colored-man-pages
antigen theme romkatv/powerlevel10k
antigen apply
# Exports