diff --git a/.config/zsh/.zshrc.d/ssh-agent.zsh b/.config/zsh/.before.zshrc.zsh similarity index 100% rename from .config/zsh/.zshrc.d/ssh-agent.zsh rename to .config/zsh/.before.zshrc.zsh diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index d04b903..fe3db1e 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,5 +1,9 @@ #!/usr/bin/env zsh +# Scripts that should be loaded before instant prompt +# because they ask something in prompt +source ${ZDOTDIR:-$HOME}/.before.zshrc.zsh + # 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.