Custom zsh plugin to generate random Riddles.
It's super easy to use. Just type riddle-me
in your terminal and enjoy the riddles.
Depending on the plugin manager you use, add following to your .zshrc
file and source it.
-
Clone the repo into your custom plugins folder, usually at ($HOME/.oh-my-zsh/custom/plugins/)
git clone https://gitlab.com/vkolagotla/zsh-riddle-me.git ~/.oh-my-zsh/custom/plugins/zsh-riddle-me
-
Add
zsh-riddle-me
to .zshrc plugin list, usually at (~/.zshrc)plugins=(... zsh-riddle-me)
zplug "vkolagotla/zsh-riddle-me"
antigen bundle "vkolagotla/zsh-riddle-me"
zgen load "vkolagotla/zsh-riddle-me"
Source .zshrc file
source ~/.zshrc
Sample output
- Fix random HTML elements occurrence in text.
- Cleaver use of
sed
to filter the riddle text. - Update hints.
I created this plugin for personal use. The plugin LICENSE is only valid for the code. Since the riddles are fetched from an external source(online), i do not own that data. I would suggest you to not use the plugin for any commercial purpose, unless you have the permission to do so from those respective data sources.