Disable cowsay's wrapping when using it to show a quote
This commit is contained in:
parent
f43d8a36fa
commit
30afa33f4e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue