mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Improve helper
This commit is contained in:
@ -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"
|
||||||
|
Reference in New Issue
Block a user