small pixel drawing of a pufferfish dotfiles

bin/n

1 2 3 4 5 6 7 8
#!/bin/sh
#
# Open notes file & take notes

mkdir /tmp/notelock 2> /dev/null || exit 1
notefile="$HOME/Sync/notes.md"
nvim "+normal G" '+:set autoread' '+ au CursorHold,CursorHoldI * checktime' "$notefile"
rmdir /tmp/notelock