feat: add script

This commit is contained in:
2024-06-05 19:37:18 +08:00
parent 6283ab3cfb
commit f0186eaefb
8 changed files with 26 additions and 1 deletions
+10 -1
View File
@@ -1,3 +1,6 @@
fish_vi_key_bindings
## set environment
# brew
@@ -13,10 +16,14 @@ set -gx GOSUMDB "sum.golang.google.cn"
set -gx PATH $PATH $HOME/go/bin
set -gx PATH $PATH $HOME/.yarn/bin $HOME/.config/yarn/global/node_modules/.bin
set -gx PATH $PATH /usr/local/sbin
# add nvim
set -gx PATH $PATH /usr/local/nvim/bin /usr/local/osx-64/nvim/bin
set -gx EDITOR vim
# add my script
set -gx PATH $PATH $HOME/.dotfile/script $HOME/.app00/script
# alias
# git
alias gitb="git branch --show-current | tr -d '\n' | pbcopy"
@@ -31,7 +38,9 @@ function gtr
go test -gcflags=all=-l -v -run=$argv
end
if test -f ~/.config/fish/custom.fish
source ~/.config/fish/custom.fish
end