Skip to content

Commit 6fa1935

Browse files
author
MqllR
committed
use gopath insead of goroot
1 parent 9d42648 commit 6fa1935

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bashrc/mql-go.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export GOROOT=$HOME/go
2-
export PATH=$PATH:/usr/local/go/bin:$GOROOT/bin
1+
export GOPATH=$HOME/go
2+
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

fish/functions/mql-go.fish

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
set -gx GOROOT $HOME/go
1+
set -Ux GOPATH $HOME/go
22

3-
for path in /usr/local/go/bin $GOROOT/bin
3+
for path in /usr/local/go/bin $GOPATH/bin
44
if not contains path $PATH
55
set PATH $PATH $path
66
end

0 commit comments

Comments
 (0)