From 70d4cfc81bb6573ce92b84d9f1d07b898e85fa75 Mon Sep 17 00:00:00 2001 From: Fabian Ising Date: Tue, 9 Nov 2021 08:36:16 +0100 Subject: [PATCH] Disable instant prompt to fix ssh-agent --- zsh/.zshrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 6b9b96e..663bfa1 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,9 +1,9 @@ # 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 +#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 export PATH="$HOME/.local/bin:$PATH" [[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config @@ -75,7 +75,10 @@ delzip() { export MITMPROXY_SSLKEYLOGFILE="~/.mitmproxy/sslkeylogfile.txt" [[ -f ~/.zsh/.mac_config ]] && source ~/.zsh/.mac_config -# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.zsh/.p10k.zsh ]] || source ~/.zsh/.p10k.zsh + +# Powerlevel 10k # Remove padding on right side ZLE_RPROMPT_INDENT=0 + +# To customize prompt, run `p10k configure` or edit ~/dotfiles/zsh/.p10k.zsh. +[[ ! -f ~/dotfiles/zsh/.p10k.zsh ]] || source ~/dotfiles/zsh/.p10k.zsh