From 3f18f9bffbaa3d809c617f4a2321973a55ccbea6 Mon Sep 17 00:00:00 2001 From: stubbsta Date: Mon, 8 Dec 2025 13:19:23 +0200 Subject: [PATCH] source pnpm after new install --- scripts/install_pnpm.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install_pnpm.sh b/scripts/install_pnpm.sh index dcac8c9fe..0c038fcf7 100755 --- a/scripts/install_pnpm.sh +++ b/scripts/install_pnpm.sh @@ -26,9 +26,10 @@ else curl -fsSL https://get.pnpm.io/install.sh | sh - fi - # Add pnpm to PATH for this script session - export PNPM_HOME="${PNPM_HOME:-$HOME/.local/share/pnpm}" - export PATH="$PNPM_HOME:$PATH" + # Source bashrc to load pnpm configuration + if [ -f "$HOME/.bashrc" ]; then + source "$HOME/.bashrc" + fi # Verify pnpm was installed if ! command -v pnpm >/dev/null 2>&1; then