Improve helper
This commit is contained in:
1 parent
1df37bd3d7
commit
a15979dc79
1 file changed
+4
-3
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
next_migration_date=$(git log -1 --format=%cd --date=unix)
|
||||
touch ~/.local/share/omarchy/migrations/$next_migration_date.sh
|
||||
nvim ~/.local/share/omarchy/migrations/$next_migration_date.sh
|
||||
migration_file="~/.local/share/omarchy/migrations/$(git log -1 --format=%cd --date=unix).sh"
|
||||
touch $migration_file
|
||||
nvim $migration_file
|
||||
echo -e "Run with:\nsource $migration_file"
|
||||
Reference in new issue
Block a user