mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 04:35:38 +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
|