Use prettier Unicode bubbles around ponysay fortunes
This commit is contained in:
parent
8a2fdbb3e8
commit
207afb3f62
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +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 )))
|
||||
[[ $say = ponysay ]] && say=(ponysay -W $(( COLUMNS - 1 )) -b unicode)
|
||||
fortune $XDG_CACHE_HOME/sav-quotes/quotes | $say
|
||||
|
|
Loading…
Reference in a new issue