#! /bin/bash FILE=~/dox/toDos/$(date '+%B-%d').txt if [ -f "$FILE" ]; then st -T 'ToDo' -g +390+210 -e nvim $FILE else echo '|'$(date '+%B-%d')'||' > $FILE echo ------------- >> $FILE st -T 'ToDo' -g +390+210 -e nvim $FILE fi #st -T 'ToDo' -g +390+210 -e vim ~/dox/toDos/$(date '+%B-%d').txt