Add Go directory to path if Go is installed

This commit is contained in:
Gergely Polonkai
2025-09-08 20:00:24 +02:00
parent 01369e5716
commit 9b390b81d9

View File

@@ -1,2 +1,4 @@
set -gx GOPATH $HOME/.local/go
fish_add_path $HOME/.local/go/bin
if command -q go
set -gx GOPATH $HOME/.local/go
fish_add_path $HOME/.local/go/bin
end