dotfiles/Scripts/quick-note.sh

12 lines
181 B
Bash
Executable file

#!/bin/bash
# open quicknote
# set quick note directory
dir="/home/emge/Notes/QuickNotes/"
# set current date
curDate=$(date +"%Y-%m-%d")
file=$dir$curDate".md"
foot nvim $file