fix: node path

This commit is contained in:
2024-11-01 17:44:30 +08:00
parent ff4629cafe
commit 12af360c37
2 changed files with 28 additions and 1 deletions
+3 -1
View File
@@ -36,10 +36,12 @@ set -gx HOMEBREW_BOTTLE_DOMAIN "https://mirrors.ustc.edu.cn/homebrew-bottles"
set -gx GOPATH $HOME/go:$HOME/workrepo/go
set -gx GOPROXY "goproxy.cn,direct"
set -gx GOSUMDB "sum.golang.google.cn"
add_to_path $HOME/go/bin
add_to_path $HOME/.yarn/bin $HOME/.config/yarn/global/node_modules/.bin
# node
add_to_path /usr/local/node/bin
# add nvim
add_to_path usr/local/nvim/bin /usr/local/osx-64/nvim/bin
set -gx EDITOR vim