Get a random quote from the Dhammapada or the Dao De Jing in your teminal, with optional color output
- Script inspired by fortune-mod-dhammapada
- Dhammapada text from Gutenberg
- Dao De Jing text from Tao-and-Teh
Simply clone or download the script to the directory of your choice and make it executable.
The script is now also available in the AUR!
To install, simply yay -S eastern-wisdom-cli
(or paru -S
if you use paru).
wisdom [option]
Options:
c -> Print any random quote in colour
n -> Print any random quote without colour
d -> Print random Dhammapada quote without colour
dc -> Print random Dhammapada quote with colour
j -> Print random Dao De jing quote without colour
jc -> Print random Dao De jing quote with colour
h -> Show this help message
To execute it every time you open your terminal, simply add the desired command at the end of your .bashrc
, .bash_profile
or .profile
(e.g. wisdom c).
BTC: bc1qn8z2jcm0nxgwsssr5leu7gs9hrltuxt94xsmj5
LTC: ltc1qghje97y75lr3wqc5u3qc80ag9sg04sy9453d62
XMR: 83DP8YWimcZBsGkgdegsvRdARa94LoYXeeBjFbbdrQNzMcBw9N7kpyZbydL9iGA9Sc8G1dx42A1bHPvQsmTo5UVj7buwVEm