Created
March 3, 2023 15:41
-
-
Save lukepighetti/0ccb8fb318982c11cb287cac6cfdb5cd to your computer and use it in GitHub Desktop.
marksman environment for note taking https://youtu.be/8GQKOLh_V5E
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# launch daily notes with `notes` | |
# launch specific notes with `notes woodworking` | |
# this is a cloud synced file, so it's live on all my devices | |
function notes(){ | |
SUBJECT="${1:=daily}" | |
if [ -z "$SUBJECT" ] | |
then | |
(cd ~/Documents/notes && hx NOTES.md) | |
else | |
(cd ~/Documents/notes && hx "${SUBJECT:u}.md" NOTES.md) | |
fi | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this goes on your path | |
# put the date in helix with `!day` | |
# chmod +x day | |
date +"%a %b %d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment