mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 17:57:34 +08:00
1.2 KiB
1.2 KiB
hitchhiker
This plugin adds quotes from The Hitchhiker's Guide to the Galaxy, from Douglas Adams.
To use it, add hitchhiker
to the plugins array in your zshrc file:
plugins=(... hitchhiker)
Aliases
hitchhiker
: displays a quote from the book usingfortune
.hitchhiker_cow
: displays a quote from the book usingcowthink
.
$ hitchhiker_cow
_______________________________________
( "OK, so ten out of ten for style, but )
( minus several million for good )
( thinking, yeah? " )
---------------------------------------
o ^__^
o (oo)\_______
(__)\ )\/\
||----w |
|| ||
Requirements
fortune
andstrfile
.cowthink
if using thehitchhiker_cow
command.
Credits
Fortune file: Andreas Gohr andi@splitbrain.org (splitbrain.org)
Spelling and formatting fixes: grok@resist.ca
Original quotes from: