Turn pkg and cmd functions into bins to avoid PATH issues in subshells
This commit is contained in:
1 parent
94ad5d4d37
commit
9e5b4fc871
44 files changed
+98
-106
No files matched your search
@@ -9,9 +9,9 @@ set_theme_colors() {
|
||||
fi
|
||||
}
|
||||
|
||||
if cmd-present chromium; then
|
||||
pkg-remove chromium
|
||||
pkg-add omarchy-chromium
|
||||
if omarchy-cmd-present chromium; then
|
||||
omarchy-pkg-drop chromium
|
||||
omarchy-pkg-add omarchy-chromium
|
||||
|
||||
if pgrep -x chromium; then
|
||||
if gum confirm "Chromium must be restarted. Ready?"; then
|
||||
|
||||
Reference in new issue
Block a user