From 83db2916a29d224bffe4419c75136c94b22a929d Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 23 May 2024 23:43:20 +0200 Subject: [PATCH] Disable instant prompt in p10k as it interfered with autostarting zellij on startup, additionally, I barely noticed any difference with it off --- home/.zshrc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/home/.zshrc b/home/.zshrc index 6fb22cf..08b0019 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -1,13 +1,3 @@ -# Display neofetch on shell startup (make sure to run this before p10k instant prompt) -fastfetch - -# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. -# Initialization code that may require console input (password prompts, [y/n] -# confirmations, etc.) must go above this block; everything else may go below. -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 - # Make homebrew installed packages available in the path on macOS if [[ "$(uname)" == "Darwin" ]]; then eval "$(/opt/homebrew/bin/brew shellenv)" @@ -113,3 +103,5 @@ eval "$(zoxide init --cmd cd zsh)" if [[ -z $ZELLIJ ]]; then zellij fi + +fastfetch