aquote

Crates.ioaquote
lib.rsaquote
version0.1.1
sourcesrc
created_at2021-03-18 01:26:51.811963
updated_at2021-03-18 06:07:16.361811
descriptionQuote of the day for your shell.
homepagehttps://github.com/kerlilow/aquote
repositoryhttps://github.com/kerlilow/aquote
max_upload_size
id370330
size65,072
Kerli Low (kerlilow)

documentation

https://docs.rs/aquote

README

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.

Commit count: 35

cargo fmt