Add configurable wiki root directory

Can be set through environment variable WIKIROOT. By default points to
~/Nextcloud/Notes/ but is kept configurable for each computer. Will be
picked up by vim wiki plugin to enable wiki functionality for the
respective directory.
This commit is contained in:
Marty Oehme 2019-06-12 14:18:46 +02:00
parent abccdc7a62
commit 6298daeca2
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,5 @@
#!/bin/sh
# set wiki root to nextcloud notes folder,
# will be picked up by vim wiki plugin as root
export WIKIROOT='~/Nextcloud/Notes/'