From 6082339fbae746e8240e2c39e2a5891842dc5a28 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 27 Jul 2019 13:33:26 +0200 Subject: [PATCH] Make code pass sample unit tests --- .config/shell/rc.d/env-wiki-root.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/rc.d/env-wiki-root.sh b/.config/shell/rc.d/env-wiki-root.sh index 25035fe..713a572 100644 --- a/.config/shell/rc.d/env-wiki-root.sh +++ b/.config/shell/rc.d/env-wiki-root.sh @@ -2,4 +2,4 @@ # set wiki root to nextcloud notes folder, # will be picked up by vim wiki plugin as root -export WIKIROOT="$HOME/Nextcloud/Notes/" +export WIKIROOT=${WIKIROOT:-"$HOME/Nextcloud/Notes/"}