Added zeptosay prototype function

This commit is contained in:
hellerve
2015-05-18 13:24:50 +02:00
parent e40a53daa5
commit 7a99761a4b

6
zshrc
View File

@@ -398,4 +398,10 @@ elif type compctl &>/dev/null; then
fi fi
###-end-npm-completion-### ###-end-npm-completion-###
function zeptosay () {
x=`fortune`
x="(begin (load \"ascii.scm\") (cowsay \"$x\"))"
zepto --single $x
}
fortune | cowsay fortune | cowsay