Avoid returning a failure from interactive/desk if no desk is active

This commit is contained in:
Danielle McLean 2018-08-16 14:28:02 +10:00
parent 7fe13b3b6f
commit f4594b4563
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -1,3 +1,5 @@
#! zsh #! zsh
export DESK_DIR=$XDG_CONFIG_HOME/desk export DESK_DIR=$XDG_CONFIG_HOME/desk
[[ -n "$DESK_ENV" ]] && source "$DESK_ENV" if [[ -n $DESK_ENV ]]; then
source $DESK_ENV
fi