From f4594b4563e9a32a75333d97e64c080214ccc367 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 16 Aug 2018 14:28:02 +1000 Subject: [PATCH] Avoid returning a failure from interactive/desk if no desk is active --- config/zsh/interactive/desk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/zsh/interactive/desk b/config/zsh/interactive/desk index 3646e2a..12136e4 100644 --- a/config/zsh/interactive/desk +++ b/config/zsh/interactive/desk @@ -1,3 +1,5 @@ #! zsh export DESK_DIR=$XDG_CONFIG_HOME/desk -[[ -n "$DESK_ENV" ]] && source "$DESK_ENV" +if [[ -n $DESK_ENV ]]; then + source $DESK_ENV +fi