diff options
author | Aditya <bluenerd@protonmail.com> | 2023-02-27 20:04:56 +0530 |
---|---|---|
committer | Aditya <bluenerd@protonmail.com> | 2023-02-27 20:04:56 +0530 |
commit | edc449275b6c04445f58b108ca0937a87c1e8430 (patch) | |
tree | 9fd484d58145b616f29a78857cc0b1c8b1c18f05 /oh-my-zsh/plugins/hitchhiker/README.md | |
parent | 6f5424ca96c4221ef433f545642669e9c104d0ed (diff) |
add zsh
Diffstat (limited to 'oh-my-zsh/plugins/hitchhiker/README.md')
-rw-r--r-- | oh-my-zsh/plugins/hitchhiker/README.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/oh-my-zsh/plugins/hitchhiker/README.md b/oh-my-zsh/plugins/hitchhiker/README.md new file mode 100644 index 0000000..d12a1e9 --- /dev/null +++ b/oh-my-zsh/plugins/hitchhiker/README.md @@ -0,0 +1,44 @@ +# 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: + +```zsh +plugins=(... hitchhiker) +``` + +## Aliases + +- `hitchhiker`: displays a quote from the book using `fortune`. +- `hitchhiker_cow`: displays a quote from the book using `cowthink`. + +```console +$ hitchhiker_cow + _______________________________________ +( "OK, so ten out of ten for style, but ) +( minus several million for good ) +( thinking, yeah? " ) + --------------------------------------- + o ^__^ + o (oo)\_______ + (__)\ )\/\ + ||----w | + || || +``` + +## Requirements + +- `fortune` and `strfile`. +- `cowthink` if using the `hitchhiker_cow` command. + +## Credits + +Fortune file: Andreas Gohr <andi@splitbrain.org> ([splitbrain.org](https://www.splitbrain.org/projects/fortunes/hg2g)) + +Spelling and formatting fixes: grok@resist.ca + +Original quotes from: + +- https://web.archive.org/web/20120106083254/http://tatooine.fortunecity.com/vonnegut/29/hitch/parhaat.html +- https://web.archive.org/web/20011112065737/http://www-personal.umd.umich.edu/~nhughes/dna/faqs/quotedir.html |