dotfiles/.config/shell/rc.d/set-wiki-root.sh
Marty Oehme 6298daeca2 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.
2019-06-12 14:18:46 +02:00

5 lines
138 B
Bash

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