diff --git a/fish.configlink/functions/notes.fish b/fish.configlink/functions/notes.fish index 5af52cb..b3628ea 100644 --- a/fish.configlink/functions/notes.fish +++ b/fish.configlink/functions/notes.fish @@ -2,7 +2,7 @@ function notes --description "Notes functions" - set -g NOTES_PATH $HOME/Documents/notes + set -gx NOTES_PATH $HOME/Documents/notes function note_dates set -g TODAY_NOTE (date +"%Y-%m-%d_%a") diff --git a/nvim.configlink/init.vim b/nvim.configlink/init.vim index 0f61d5a..ec875e0 100644 --- a/nvim.configlink/init.vim +++ b/nvim.configlink/init.vim @@ -226,7 +226,7 @@ let g:rustfmt_autosave = 1 " Formats with rust plugin " VimWiki plugin let g:vimwiki_list = [ \ { - \ 'path': '~/Documents/notes/', + \ 'path': $NOTES_PATH, \ 'syntax': 'markdown', \ 'index': 'home', \ 'ext': '.md'