Adjust ponysay wrap width to make use of available screen space :)
This commit is contained in:
parent
288811fefa
commit
8a2fdbb3e8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue