Skip to content

Instantly share code, notes, and snippets.

@lukepighetti
Created March 3, 2023 15:41
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
marksman environment for note taking https://youtu.be/8GQKOLh_V5E
# 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 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