mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Ensure mise activates the shims
To make sure mise shims are right for the tmux layout commands
This commit is contained in:
+1
-1
@@ -8,4 +8,4 @@ export PATH=$OMARCHY_PATH/bin:$PATH
|
|||||||
source ~/.config/uwsm/default
|
source ~/.config/uwsm/default
|
||||||
|
|
||||||
# Activate mise if present on the system
|
# Activate mise if present on the system
|
||||||
omarchy-cmd-present mise && eval "$(mise activate bash)"
|
omarchy-cmd-present mise && eval "$(mise activate bash --shims)"
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
if command -v mise &> /dev/null; then
|
if command -v mise &> /dev/null; then
|
||||||
eval "$(mise activate bash)"
|
eval "$(mise activate bash --shims)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v starship &> /dev/null; then
|
if command -v starship &> /dev/null; then
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
echo "Use mise shims in ~/.config/uwsm/env"
|
||||||
|
|
||||||
|
UWSM_ENV="$HOME/.config/uwsm/env"
|
||||||
|
|
||||||
|
if [[ -f $UWSM_ENV ]] && grep -q 'mise activate bash)' "$UWSM_ENV"; then
|
||||||
|
sed -i 's/mise activate bash)/mise activate bash --shims)/g' "$UWSM_ENV"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user