From d06afc8ff20df24a9ad24eb33af9133bf1a4076d Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 1 Oct 2019 02:59:32 +0200 Subject: khal handle errors --- config.fish | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.fish b/config.fish index 9a70558..5a129f4 100644 --- a/config.fish +++ b/config.fish @@ -1,6 +1,8 @@ -if status --is-interactive > /dev/null - khal calendar +if status --is-interactive ^ /dev/null + if which khal ^ /dev/null > /dev/null + khal calendar ^ /dev/null + end end if which roxterm ^ /dev/null > /dev/null -- cgit v1.2.3