diff --git a/.config/shell/login.d/env-vars.sh b/.config/shell/login.d/env-vars.sh index a4421c9..a92fe1b 100644 --- a/.config/shell/login.d/env-vars.sh +++ b/.config/shell/login.d/env-vars.sh @@ -3,8 +3,8 @@ # important directories # will be picked up by vim wiki plugin as root directory -export WIKIROOT="${WIKIROOT:-$HOME/documents/notes/}" -export LIBRARYROOT="${LIBRARYROOT:-$HOME/documents/library/}" +export WIKIROOT="${WIKIROOT:-$HOME/documents/notes}" +export LIBRARYROOT="${LIBRARYROOT:-$HOME/documents/library}" export BIBFILE="${BIBFILE:-$LIBRARYROOT/academia/academia.bib}" # these are my personal 'important' environment settings diff --git a/.config/shell/login.d/test/env-wiki-root.bats b/.config/shell/login.d/test/env-wiki-root.bats index 0a39821..e6df11b 100644 --- a/.config/shell/login.d/test/env-wiki-root.bats +++ b/.config/shell/login.d/test/env-wiki-root.bats @@ -1,5 +1,5 @@ # FIXME why is one saved with trailing "/" , the other not? -DEFAULT_NOTES="$HOME/documents/notes/" +DEFAULT_NOTES="$HOME/documents/notes" DEFAULT_LIB="$HOME/documents/library" DEFAULT_BIB="$DEFAULT_LIB/academia/academia.bib"