From 6ee3af65bdcc0e76b495bcbba227faec203c1379 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 1 May 2022 23:17:19 +0200 Subject: [PATCH] [Fish] Only execute pumo-system-info if found --- org/config/fish.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/config/fish.org b/org/config/fish.org index ad35094..ffabdbf 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -62,7 +62,7 @@ Now, there is only one function I modify when it comes to the appearance of fish when I’m the one using it: the ~fish_greeting~ function. I use it to display the output of [[https://labs.phundrak.com/phundrak/pumo-system-info][a utility I wrote]]. #+BEGIN_SRC fish function fish_greeting - pumo-system-info + which pumo-system-info 2&> /dev/null && pumo-system-info || df -H | grep -v Filesystem | sort -rk 5 end #+END_SRC