summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/pnpm.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/pnpm.zsh b/zsh/pnpm.zsh
index ad44e82..6b6b890 100644
--- a/zsh/pnpm.zsh
+++ b/zsh/pnpm.zsh
@@ -26,3 +26,9 @@ if type compdef &>/dev/null; then
fi
###-end-pnpm-completion-###
+# pnpm homedir
+export PNPM_HOME="/home/work/.local/share/pnpm"
+case ":$PATH:" in
+ *":$PNPM_HOME:"*) ;;
+ *) export PATH="$PNPM_HOME:$PATH" ;;
+esac