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

+2 -2
View File
@@ -1,6 +1,6 @@
echo "Add minimal starship prompt to terminal"
if cmd-missing starship; then
pkg-add starship
if omarchy-cmd-missing starship; then
omarchy-pkg-add starship
cp $OMARCHY_PATH/config/starship.toml ~/.config/starship.toml
fi