From 30afa33f4e83e8755dfab511e746bddf7f850fe7 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sun, 23 Oct 2016 15:03:53 +1100 Subject: [PATCH] Disable cowsay's wrapping when using it to show a quote --- config/zsh/interactive+login/show_fortune | 1 + 1 file changed, 1 insertion(+) 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