fish: ensure ruby is installed for greeting

master
an 2020-08-02 11:56:00 -06:00
parent 9fcf97a49f
commit fa73b53992
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function fish_right_prompt
end end
function fish_greeting 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 set_color c50ed2
echo -n "Word of the moment: "(shuf -n1 /usr/share/dict/words) | echo -n "Word of the moment: "(shuf -n1 /usr/share/dict/words) |