Skip to content

Instantly share code, notes, and snippets.

@leafsummer
Forked from pierre-b/config.fish
Created August 3, 2021 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leafsummer/e3da60375157143ad382501bab4b6773 to your computer and use it in GitHub Desktop.
Save leafsummer/e3da60375157143ad382501bab4b6773 to your computer and use it in GitHub Desktop.
golang fish shell config
# config file
# vim ~/.config/fish/config.fish
# reload the config
# source ~/.config/fish/config.fish
# set the workspace path
set -x GOPATH /users/my-username/go
# add the go bin path to be able to execute our programs
set -x PATH $PATH /usr/local/go/bin $GOPATH/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment