Add --no-edit option

This commit is contained in:
Ryan Hughes
2026-01-03 17:17:08 -05:00
parent 7bf1c38937
commit ef4ecdbfcf

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