2 releases

0.1.1 Mar 18, 2021
0.1.0 Mar 18, 2021

#101 in #quote

MIT license

24KB
573 lines

aquote - Quote of the Day for your shell

crates.io License Tests Status

aquote fetches a random quote daily from one of the configured quote vendors. By default, the following vendors are used:

Installation

From binaries

Download the precompiled binary for your OS from the release page.

After downloading the release package for your OS, extract the archive and run install.sh as root. This will install the binary and setup a scheduled job to fetch a new quote daily.

Finally, add aquote show to your shell startup script (or fish_greeting.fish for fish).

Bash

Add aquote show to ~/.bashrc.

Zsh

Add aquote show to ~/.zshrc.

fish

Add aquote show to the fish_greeting function in ~/.config/fish/functions/fish_greeting.fish.

Example:

function fish_greeting -d "What's up, fish?"
    ...
    set_color normal

    # Add the following line
    aquote show
end

License

This project is licensed under the terms of the MIT license.

See the LICENSE.md file in this repository for more information.

Dependencies

~10–26MB
~368K SLoC