Skip to content
Snippets Groups Projects
Unverified Commit 863a5e7e authored by tec's avatar tec
Browse files

Tweak fortunate cowsay (plz work now)

parent 2a251abc
No related merge requests found
...@@ -69,7 +69,7 @@ impl Commands { ...@@ -69,7 +69,7 @@ impl Commands {
} else { } else {
std::process::Command::new("sh") std::process::Command::new("sh")
.arg("-c") .arg("-c")
.arg("sh -c fortune | cowsay -f \"/usr/share/cowsay/cows/$(echo 'www\nhellokitty\nbud-frogs\nkoala\nsuse\nthree-eyes\npony-smaller\nsheep\nvader\ncower\nmoofasa\nelephant\nflaming-sheep\nskeleton\nsnowman\ntux\napt\nmoose' | shuf -n 1).cow\"") .arg("fortune | cowsay -f \"/usr/share/cowsay/cows/$(echo 'www\nhellokitty\nbud-frogs\nkoala\nsuse\nthree-eyes\npony-smaller\nsheep\nvader\ncower\nmoofasa\nelephant\nflaming-sheep\nskeleton\nsnowman\ntux\napt\nmoose' | shuf -n 1).cow\"")
.output() .output()
.expect("failed to execute fortune/cowsay") .expect("failed to execute fortune/cowsay")
}; };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment