瀏覽代碼

fish: ensure ruby is installed for greeting

master
Alison Watson 11 月之前
父節點
當前提交
fa73b53992
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      fish/prompt

+ 1
- 1
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) |


Loading…
取消
儲存