Update .config/fish/conf.d/30-go.fish

This commit is contained in:
punkfairie 2024-10-04 22:09:58 -07:00
parent 16acd46409
commit 599d8f83d9
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -1,5 +1,8 @@
#!/usr/bin/env fish
set -Ux GOPATH "$XDG_DATA_HOME/go"
set -Ux GOMODCACHE "$XDG_CACHE_HOME/go/mod"
if command -v go &>/dev/null
fish_add_path "$HOME/go/bin"
fish_add_path "$XDG_DATA_HOME/go/bin"
end