From 2b638a11df9de60c9123ff3436e4687323693df1 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Mon, 28 Jun 2021 11:45:52 -0600 Subject: [PATCH] updated weird custom-executable requirement --- zsh/colors | 2 +- zsh/rc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh/colors b/zsh/colors index 2b18188..33c5e35 100644 --- a/zsh/colors +++ b/zsh/colors @@ -24,7 +24,7 @@ PROMPT_LINE=$'\n'' %B%F{128}%# %b%f' setopt PROMPT_SUBST PS1="$PREVIOUS_COMMAND_CONDITION $USER $SEPARATOR $DIRECTORY $GIT_BRANCH $PROMPT_LINE" -[ -f "$HOME/.config/wryn/custom-ps1" ] && source "$HOME/.config/wryn/custom-ps1" +[ -f "$HOME/.config/wryn/ps1" ] && source "$HOME/.config/wryn/ps1" #RPROMPT="$(\e[1A) $GIT_BRANCH"; diff --git a/zsh/rc b/zsh/rc index 0de3a8e..e2efe43 100644 --- a/zsh/rc +++ b/zsh/rc @@ -43,7 +43,7 @@ for PLUGIN in $EXTERNAL_PLUGIN_LIST; do done # --- welcome message ---------------------------------------------- -CUSTOM_WELCOME="$HOME/.config/wryn/custom-welcome" +CUSTOM_WELCOME="$HOME/.config/wryn/welcome" [ -f "$CUSTOM_WELCOME" ] \ - && { "$CUSTOM_WELCOME" } \ - || { exec figlet "Welcome, beautiful" | lolcat; echo; cowsay -p "damn u sexy" | lolcat; } + && { source "$CUSTOM_WELCOME" } \ + || { { figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy' } | lolcat; }