Skip to content

t18d/fortuna

 
 

Repository files navigation

fortuna

CodeQL Advanced

  • print a random commonplace
    • a binary-compatible downstream fork of Shlomi Fish's fortune-mod

 

Note

Method 1:

$ tar xvJf fortuna.tar.xz && cd fortuna
$ mkdir build && cd build
$ cmake ..  # requires recode-devel, libcmocka-devel
$ make && make install
$ fortuna

Method 2:

Get fortune-mod and run:

$ rm /usr/share/games/fortune/*.dat
$ tar xvJf fortuna-devel.tar.xz && cd fortuna-devel
$ cp * /usr/share/games/fortune
$ echo alias fortuna=/usr/bin/fortune >> ~/.bashrc && source ~/.bashrc
$ fortuna

 

Etymology

Latin: the name of a goddess, from fors 'chance, luck'. A nod to our classical connections.

About

A modern `fortune`. Based on the TKB Commonplace Book.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors

Languages

  • C 50.1%
  • Perl 32.2%
  • CMake 11.8%
  • Python 4.8%
  • Other 1.1%