From 229da0e3935c40de2f016ceda7099a514a182290 Mon Sep 17 00:00:00 2001 From: fdai7375 Date: Mon, 30 Jan 2023 09:56:31 +0100 Subject: [PATCH] feat: add Milton Friedman quotes --- src/builtins/quote.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/builtins/quote.rs b/src/builtins/quote.rs index 5e844c5..6659690 100644 --- a/src/builtins/quote.rs +++ b/src/builtins/quote.rs @@ -5,7 +5,13 @@ use crate::error::ShellError; pub struct Quote; -const QUOTES: &[(&str, &str)] = &[("test quote", "david")]; +const QUOTES: &[(&str, &str)] = &[ + ("A society that puts equality before freedom will get neither. A society that puts freedom before equality will get a high degree of both.", "Milton Friedman"), + ("One of the great mistakes is to judge policies and programs by their intentions rather than their results.","Milton Friedman"), + ("Nothing is as permanent as a temporary government program.","Milton Friedman"), + ("Underlying most arguments against the free market is a lack of belief in freedom itself.","Milton Friedman"), + ("I think that the Internet is going to be one of the major forces for reducing the role of government.","Milton Friedman") +]; impl Builtin for Quote { fn execute(&mut self, _: &mut BuiltinConfig, _: Vec) -> Result<(), ShellError> {