chore(fish): Add GOROOT env variable
This commit is contained in:
@@ -16,6 +16,7 @@ set -x GOBIN "$GOPATH/bin"
|
|||||||
if test (uname) = "Darwin"
|
if test (uname) = "Darwin"
|
||||||
set -x JAVA_HOME (eval /usr/libexec/java_home)
|
set -x JAVA_HOME (eval /usr/libexec/java_home)
|
||||||
set -x GEM_HOME "$HOME/.gem"
|
set -x GEM_HOME "$HOME/.gem"
|
||||||
|
set -x GOROOT "$(brew --prefix golang)/libexec"
|
||||||
fish_add_path /opt/homebrew/bin
|
fish_add_path /opt/homebrew/bin
|
||||||
fish_add_path /opt/homebrew/opt/texlive/bin
|
fish_add_path /opt/homebrew/opt/texlive/bin
|
||||||
fish_add_path $GEM_HOME/bin
|
fish_add_path $GEM_HOME/bin
|
||||||
@@ -39,7 +40,7 @@ end
|
|||||||
|
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
if not set -q TMUX
|
if not set -q TMUX
|
||||||
tmux new-session -A -s 0
|
tmux new-session -A -s 0
|
||||||
end
|
end
|
||||||
|
|
||||||
set -g fish_greeting
|
set -g fish_greeting
|
||||||
|
|||||||
Reference in New Issue
Block a user