Skip to content

Instantly share code, notes, and snippets.

@seongjoojin
Forked from pierre-b/config.fish
Created April 15, 2019 16:14
Show Gist options
  • Save seongjoojin/7c535865e94f382c67d466b91f3978b9 to your computer and use it in GitHub Desktop.
Save seongjoojin/7c535865e94f382c67d466b91f3978b9 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