This commit is contained in:
2025-09-18 11:35:56 +02:00
commit 2203d6075f
45 changed files with 935 additions and 0 deletions

12
shell/tmp_note.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env zsh
# This is for nixos specific
# simple script to create and use a temporary note file
# Create new temporary file if not already exists for this date
if [ ! -f /tmp/notes.md ]; then
echo -e "# $(date)\n\n" >/tmp/notes.md
fi
# Instantly enter the insert mode at the bottom for less friction
nvim -c "e /tmp/notes.md" -c "normal G" -c "normal k" -c "normal o" -c "startinsert"