Skip to content

Commit d47e491

Browse files
committed
doctor missing mise shims in non interactive shell
1 parent 64f14fc commit d47e491

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

doctor.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2727
# shellcheck source=lib/common.sh
2828
source "$SCRIPT_DIR/lib/common.sh"
2929

30+
# ---------------------------------------------------------------------------
31+
# Ensure mise-managed tools (ruby, node, yarn, etc.) are visible.
32+
# In a non-interactive shell, mise may not be activated, so add the shims
33+
# directory to PATH explicitly. This is read-only — no files are modified.
34+
# ---------------------------------------------------------------------------
35+
36+
export PATH="$HOME/.local/share/mise/shims:$PATH"
37+
3038
# ---------------------------------------------------------------------------
3139
# Doctor helpers
3240
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)