summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-10-01 02:59:32 +0200
committerache <ache@ache.one>2019-10-01 02:59:32 +0200
commitd06afc8ff20df24a9ad24eb33af9133bf1a4076d (patch)
tree4199d10bcd52ba92ee48b45d20e442ec58b1471f
parentFix git commit in terminal \o/ (diff)
khal handle errors
-rw-r--r--config.fish6
1 files 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