backup: 2026-04-11 16:43

This commit is contained in:
Dmitry
2026-04-11 16:43:23 +03:00
parent 9285660f27
commit 5a607c85f2
3 changed files with 3 additions and 29 deletions
-12
View File
@@ -2,8 +2,6 @@
# Ada's Modular ZSH Configuration
# ════════════════════════════════════════════════════════════
typeset -g POWERLEVEL9K_INSTANT_PROMPT=off
# ═══ Powerlevel10k Instant Prompt ══════════════════════════
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
@@ -51,16 +49,6 @@ source "${ZSH_CONFIG_DIR}/prompt.zsh" # Настройка промпта
[[ ! -f /home/ada/.config/zsh/.p10k.zsh ]] || source /home/ada/.config/zsh/.p10k.zsh
# Показываем fastfetch один раз уже после инициализации prompt'а.
if [[ -o interactive ]]; then
autoload -Uz add-zsh-hook
function _fastfetch_once() {
add-zsh-hook -d precmd _fastfetch_once
command fastfetch
}
add-zsh-hook precmd _fastfetch_once
fi
export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm