program247365 / random-quotes

Rust app that displays a new quote every time you open a terminal!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random Quotes

Rust app that displays a new quote every time you open a terminal

Random Quotes in Action!

Setup

  1. cargo build --release
  2. Move random-quotes binary to location on your path (e.g. $HOME/bin/random-quotes)
  3. Put quotes.csv formatted in quote goes here,author of quote on each line, and place the file next to random-quotes
  4. Put binary in bottom of ~/.zshrc or ~/.bashrc (e.g. $HOME/bin/random-quotes) and save
  5. Reload terminal, and voilĂ , you have a random quote whenever you open the terminal!

Future Things?

  • Fix TODOs in program, once get better at Rust ;)
  • Allow you to specify filename on cli
  • Make it so you can put quotes in Google Spreadsheet, and will show those

About

Rust app that displays a new quote every time you open a terminal!


Languages

Language:Rust 100.0%