aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki4
1 files changed, 3 insertions, 1 deletions
diff --git a/wiki b/wiki
index da9ee37..67d3000 100755
--- a/wiki
+++ b/wiki
@@ -1,5 +1,7 @@
#!/bin/bash
+WIKIPATH=/home/hugo/wiki/public/
+
# A simple script for managing a vimwiki git repo.
# Allows slightly simpler edits and commits.
@@ -8,7 +10,7 @@ if [ $# -eq 0 ] || [ $1 = "edit" ]; then
exit
fi
-pushd ~/vimwiki/
+pushd $WIKIPATH
case $1 in
commit)