diff --git a/config/zsh/interactive+login/show_fortune b/config/zsh/interactive+login/show_fortune index c31874b..0e095bd 100644 --- a/config/zsh/interactive+login/show_fortune +++ b/config/zsh/interactive+login/show_fortune @@ -1,4 +1,5 @@ #! zsh (( $+commands[fortune] )) || return for say in ponysay cowsay cat; (( $+commands[$say] )) && break +[[ $say = cowsay ]] && say=(cowsay -n) fortune $XDG_CACHE_HOME/sav-quotes/quotes | $say