GOPATH to .go, PATH updates, nvim timeout only on first start

This commit is contained in:
Anton Volnuhin 2023-05-27 22:08:49 +03:00
parent b8d84ef92a
commit eefa37f435
4 changed files with 7 additions and 3 deletions

View File

@ -5,5 +5,4 @@
printf "Executing neovim :Lazy sync..."
nvim --headless "+Lazy! sync" +qa
nvim --headless ":MasonUpdate" +qa
timeout 10s nvim --headless ":TSUpdate" || true
echo " done."

View File

@ -1,5 +1,8 @@
set -gx PATH /usr/local/opt/coreutils/libexec/gnubin $PATH
set -gx PATH /usr/local/bin $PATH
set -gx PATH ~/.local/bin $PATH
set -gx PATH ~/.cargo/bin $PATH
set -gx GOPATH ~/.go
set -gx EDITOR nvim
set fish_color_valid_path

View File

@ -1,4 +1,6 @@
#!/usr/bin/env fish
timeout 10s nvim --headless ":TSUpdate" || true
fisher update
echo 2132335212421y | tide configure

View File

@ -13,7 +13,7 @@ fish -c "fish_add_path -U ~/.cargo/bin"
chsh -s /usr/bin/fish
#cargo install atuin
GOBIN=~/.local/bin go install github.com/gsamokovarov/jump@latest
GOPATH="~/.go" GOBIN="~/.local/bin" go install github.com/gsamokovarov/jump@latest
{{ end -}}