From fa73b53992fa748c896f43d78d628a4c9b218d42 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Sun, 2 Aug 2020 11:56:00 -0600 Subject: [PATCH] fish: ensure ruby is installed for greeting --- fish/prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/prompt b/fish/prompt index e4f0b3e..3b84d24 100644 --- a/fish/prompt +++ b/fish/prompt @@ -19,7 +19,7 @@ function fish_right_prompt end function fish_greeting - if test -f /usr/share/dict/words && test (which shuf) + if test -f /usr/share/dict/words && test (which shuf) && test (which ruby) set_color c50ed2 echo -n "Word of the moment: "(shuf -n1 /usr/share/dict/words) |