From 933ac6a5c991f0226f62a5bf3062dffa04854fb7 Mon Sep 17 00:00:00 2001 From: eeleater Date: Sun, 30 Apr 2023 23:18:42 +0200 Subject: [PATCH] updated antidote config somewhat --- dot_config/zsh/dot_zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index f56aa77..dd680e1 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -5,7 +5,9 @@ if test "x$TERMINALNAME" = "xalacritty"; then eval "$(zellij setup --generate-au potentialBanner=('bofh; echo " - BOFH"' 'hackerquotes' 'fastfetch')#'colorscript random') eval "$potentialBanner[$RANDOM%$#potentialBanner+1]" -function source () { test -r $1 && builtin source $1 } +function source () { test -r "$1" && builtin source "$1" } + +source "$XDG_CACHE_HOME"/p10k-instant-prompt-"$USERNAME".zsh # local env exports source "$XDG_DATA_HOME"/zsh/env.zsh @@ -29,3 +31,6 @@ source "$ZDOTDIR"/files/distroicon.zsh # ssh ignored patterns source "$ZDOTDIR"/files/sshcomp.zsh + +# To customize prompt, run `p10k configure` or edit $ZDOTDIR/.p10k.zsh. +source "$ZDOTDIR"/.p10k.zsh