From 8a2fdbb3e8c5e43ceaf52bc21081c1ad33430dec Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 25 Oct 2016 14:54:49 +1100 Subject: [PATCH] Adjust ponysay wrap width to make use of available screen space :) --- 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 0e095bd..5033692 100644 --- a/config/zsh/interactive+login/show_fortune +++ b/config/zsh/interactive+login/show_fortune @@ -2,4 +2,5 @@ (( $+commands[fortune] )) || return for say in ponysay cowsay cat; (( $+commands[$say] )) && break [[ $say = cowsay ]] && say=(cowsay -n) +[[ $say = ponysay ]] && say=(ponysay -W $(( COLUMNS - 1 ))) fortune $XDG_CACHE_HOME/sav-quotes/quotes | $say