feat(zsh): replace standalone pnpm with vite-plus
This commit is contained in:
1 parent
37f4a0391f
commit
6f4c331dd4
2 files changed
+8
-11
No files matched your search
@@ -39,12 +39,17 @@ zinit for \
|
|||||||
lbin'!' \
|
lbin'!' \
|
||||||
@ajeetdsouza/zoxide
|
@ajeetdsouza/zoxide
|
||||||
|
|
||||||
|
|
||||||
zinit for \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
from'gh-r' \
|
from'gh-r' \
|
||||||
sbin'pnpm' \
|
atclone'
|
||||||
@pnpm/pnpm
|
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 \
|
zinit for \
|
||||||
id-as \
|
id-as \
|
||||||
|
|||||||
@@ -9,11 +9,3 @@ export SUDO_EDITOR="micro"
|
|||||||
|
|
||||||
export STARSHIP_CONFIG="$XDG_CONFIG_HOME"/starship/starship.toml
|
export STARSHIP_CONFIG="$XDG_CONFIG_HOME"/starship/starship.toml
|
||||||
export HOMEBREW_NO_UPGRADE_AUTO_UPDATES_CASKS=1
|
export HOMEBREW_NO_UPGRADE_AUTO_UPDATES_CASKS=1
|
||||||
|
|
||||||
export PNPM_HOME="$HOME/.local/share/pnpm"
|
|
||||||
|
|
||||||
typeset -U path
|
|
||||||
path=(
|
|
||||||
"$PNPM_HOME/bin"
|
|
||||||
$path
|
|
||||||
)
|
|
||||||
Reference in new issue
Block a user