Turn pkg and cmd functions into bins to avoid PATH issues in subshells

This commit is contained in:
David Heinemeier Hansson committed 2025-08-31 09:18:06 +02:00
1 parent 94ad5d4d37
commit 9e5b4fc871
44 files changed
+98 -106

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ for file in ~/.local/share/omarchy/migrations/*.sh; do
if [[ ! -f "$STATE_DIR/$filename" && ! -f "$STATE_DIR/skipped/$filename" ]]; then
echo -e "\e[32m\nRunning migration (${filename%.sh})\e[0m"
if bash -e $file; then
if bash $file; then
touch "$STATE_DIR/$filename"
else
if gum confirm "Migration ${filename%.sh} failed. Skip and continue?"; then