Fixed pnpm setup

This commit is contained in:
2025-12-03 21:32:20 +01:00
parent 38f4c63336
commit 4e3d0500b9

View File

@@ -87,12 +87,14 @@ if (( $+commands[devcontainer] )); then
} }
fi fi
if (( $+commands[pnpm] )); then
export PNPM_HOME="/home/tim/.local/share/pnpm" export PNPM_HOME="/home/tim/.local/share/pnpm"
if [ -d "$PNPM_HOME" ]; then
case ":$PATH:" in case ":$PATH:" in
*":$PNPM_HOME:"*) ;; *":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;; *) export PATH="$PNPM_HOME:$PATH" ;;
esac esac
else
unset PNPM_HOME
fi fi
export FZF_DEFAULT_OPTS='--tmux' export FZF_DEFAULT_OPTS='--tmux'