.zshrc will attempt to set the NOTES_DIR environment variable First check to see if the environment variable is set. If not, if `$HOME/Sync/MarkdownNotes` exits, then use that. If that directory doesn't exist, try `$HOME/Documents`. If they both fail, then don't set the var.
1.4 KiB
1.4 KiB