updated weird custom-executable requirement

This commit is contained in:
Wryn Wagner 2021-06-28 11:45:52 -06:00
parent 72f277bd69
commit 2b638a11df
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ PROMPT_LINE=$'\n'' %B%F{128}%# %b%f'
setopt PROMPT_SUBST setopt PROMPT_SUBST
PS1="$PREVIOUS_COMMAND_CONDITION $USER $SEPARATOR $DIRECTORY $GIT_BRANCH $PROMPT_LINE" 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"; #RPROMPT="$(\e[1A) $GIT_BRANCH";

6
zsh/rc
View File

@ -43,7 +43,7 @@ for PLUGIN in $EXTERNAL_PLUGIN_LIST; do
done done
# --- welcome message ---------------------------------------------- # --- welcome message ----------------------------------------------
CUSTOM_WELCOME="$HOME/.config/wryn/custom-welcome" CUSTOM_WELCOME="$HOME/.config/wryn/welcome"
[ -f "$CUSTOM_WELCOME" ] \ [ -f "$CUSTOM_WELCOME" ] \
&& { "$CUSTOM_WELCOME" } \ && { source "$CUSTOM_WELCOME" } \
|| { exec figlet "Welcome, beautiful" | lolcat; echo; cowsay -p "damn u sexy" | lolcat; } || { { figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy' } | lolcat; }