variabilize notes path for maintainability

This commit is contained in:
Noah Masur 2020-11-24 23:09:07 -05:00
parent cc8007b01c
commit 8c4e802f7d
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
function notes --description "Notes functions" function notes --description "Notes functions"
set -g NOTES_PATH $HOME/Documents/notes set -gx NOTES_PATH $HOME/Documents/notes
function note_dates function note_dates
set -g TODAY_NOTE (date +"%Y-%m-%d_%a") set -g TODAY_NOTE (date +"%Y-%m-%d_%a")

View File

@ -226,7 +226,7 @@ let g:rustfmt_autosave = 1 " Formats with rust plugin
" VimWiki plugin " VimWiki plugin
let g:vimwiki_list = [ let g:vimwiki_list = [
\ { \ {
\ 'path': '~/Documents/notes/', \ 'path': $NOTES_PATH,
\ 'syntax': 'markdown', \ 'syntax': 'markdown',
\ 'index': 'home', \ 'index': 'home',
\ 'ext': '.md' \ 'ext': '.md'