mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
8 lines
308 B
Fish
8 lines
308 B
Fish
function note-dates
|
|
set -g TODAY_NOTE (date +"%Y-%m-%d_%a")
|
|
set -g YESTERDAY_NOTE (date -jv "-1d" +"%Y-%m-%d_%a")
|
|
set -g TOMORROW_NOTE (date -jv "+1d" +"%Y-%m-%d_%a")
|
|
set -g LONG_DATE (date +"%A, %B %e, %Y" | sed 's/ */ /g')
|
|
set -g TODAY_NOTE_FILE $NOTES_PATH/journal/$TODAY_NOTE.md
|
|
end
|