Improve helper

This commit is contained in:
David Heinemeier Hansson
2025-07-09 10:29:49 -07:00
parent 1df37bd3d7
commit a15979dc79

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
next_migration_date=$(git log -1 --format=%cd --date=unix) migration_file="~/.local/share/omarchy/migrations/$(git log -1 --format=%cd --date=unix).sh"
touch ~/.local/share/omarchy/migrations/$next_migration_date.sh touch $migration_file
nvim ~/.local/share/omarchy/migrations/$next_migration_date.sh nvim $migration_file
echo -e "Run with:\nsource $migration_file"