Add --no-edit option

This commit is contained in:
Ryan Hughes committed 2026-01-03 23:45:19 -05:00
1 parent 7bf1c38937
commit ef4ecdbfcf
1 file changed
+6 -1
+6 -1
View File
@@ -3,4 +3,9 @@
cd ~/.local/share/omarchy
migration_file="$HOME/.local/share/omarchy/migrations/$(git log -1 --format=%cd --date=unix).sh"
touch $migration_file
nvim $migration_file
if [[ "$1" != "--no-edit" ]]; then
nvim $migration_file
fi
echo $migration_file