Merge branch 'main' of github.com:hilaily/.dotfile

This commit is contained in:
2024-11-10 23:49:57 +08:00
2 changed files with 35 additions and 6 deletions
+10 -6
View File
@@ -1,8 +1,8 @@
#################################################################
# option
fish_vi_key_bindings
#################################################################
# basic
# 定义一个函数来检查并添加路径到 PATH
@@ -43,7 +43,6 @@ function sudoo
eval sudo $history[1]
end
# add my script
add_to_path $HOME/.dotfile/script $HOME/.app00/script
@@ -75,13 +74,14 @@ 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
function gtr
go test -gcflags=all=-l -v -run=$argv
end
#################################################################
# node
add_to_path /usr/local/node/bin
#################################################################
# python
@@ -93,10 +93,14 @@ end
add_to_path $PYENV_ROOT/bin
#################################################################
# nvim
add_to_path usr/local/nvim/bin /usr/local/osx-64/nvim/bin
set -gx EDITOR vim
function gtr
go test -gcflags=all=-l -v -run=$argv
end
#################################################################