feat(zsh): replace standalone pnpm with vite-plus

This commit is contained in:
tri committed 2026-10-16 16:32:44 +07:00
1 parent 37f4a0391f
commit 6f4c331dd4
2 files changed
+8 -11

No files matched your search

+8 -3
View File
@@ -39,12 +39,17 @@ zinit for \
lbin'!' \
@ajeetdsouza/zoxide
zinit for \
id-as \
from'gh-r' \
sbin'pnpm' \
@pnpm/pnpm
atclone'
VP_SELF_SETUP_NO_MODIFY_PATH=1 ./vp env setup --refresh > /dev/null; \
./vp env on > /dev/null; \
VP_COMPLETE=zsh "$XDG_DATA_HOME/vite-plus/bin/vp" > init.zsh;
' \
atpull'%atclone' \
atload'source "$XDG_CONFIG_HOME/vite-plus/env"' \
@voidzero-dev/vite-plus
zinit for \
id-as \
-8
View File
@@ -9,11 +9,3 @@ export SUDO_EDITOR="micro"
export STARSHIP_CONFIG="$XDG_CONFIG_HOME"/starship/starship.toml
export HOMEBREW_NO_UPGRADE_AUTO_UPDATES_CASKS=1
export PNPM_HOME="$HOME/.local/share/pnpm"
typeset -U path
path=(
"$PNPM_HOME/bin"
$path
)