From c6567f4f986e73f87e33a1027ba9ed563e317b3d Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Fri, 11 Aug 2023 11:32:06 +0300 Subject: [PATCH] feat(shell): moved p10k from root --- base/zshrc | 3 ++- {base => config/zsh}/p10k.zsh | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename {base => config/zsh}/p10k.zsh (100%) diff --git a/base/zshrc b/base/zshrc index e8df5f8..3d87f47 100644 --- a/base/zshrc +++ b/base/zshrc @@ -75,5 +75,6 @@ export LESSHISTFILE="$XDG_CACHE_HOME"/less_history && builtin source "$HOME/.fig/shell/zshrc.post.zsh" # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +export P10K_LOCATION="$XDG_CONFIG_HOME/zsh/p10k.zsh" +[[ ! -f $P10K_LOCATION ]] || source $P10K_LOCATION diff --git a/base/p10k.zsh b/config/zsh/p10k.zsh similarity index 100% rename from base/p10k.zsh rename to config/zsh/p10k.zsh