Update .config/fish/conf.d/30-go.fish
This commit is contained in:
parent
16acd46409
commit
599d8f83d9
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue