Skip to content

Instantly share code, notes, and snippets.

@chocnut
Forked from pierre-b/config.fish
Created February 23, 2019 12:21
Show Gist options
  • Save chocnut/1670e76074c5741480b7502fa7ad09d9 to your computer and use it in GitHub Desktop.
Save chocnut/1670e76074c5741480b7502fa7ad09d9 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