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:
parent
abccdc7a62
commit
6298daeca2
2 changed files with 10 additions and 1 deletions
5
.config/shell/rc.d/set-wiki-root.sh
Normal file
5
.config/shell/rc.d/set-wiki-root.sh
Normal 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/'
|
||||
Loading…
Add table
Add a link
Reference in a new issue