4 ms·
I was interested when I saw the project name, but this appears to be: mkdir -p pkg bin src export GOPATH="`pwd`" export PATH="$GOPATH/bin:$PATH" O
by jerf 13y ago
I was interested when I saw the project name, but this appears to be:
mkdir -p pkg bin src
export GOPATH="`pwd`"
export PATH="$GOPATH/bin:$PATH"
Only what I typed there is shorter and safer than the committed code.
That's... simple, yes.
https://github.com/ChuckHa/goenv/blob/master/goenv https://github.com/ChuckHa/goenv/blob/master/goenv
- chuckha 13y agoAwesome, I won't pretend to be a bash expert. Any interest in opening a PR?
- jerf 13y agoNaw, just go ahead and commit that if you like. That's too much easier to be worth the fork/checkout/commit/push/pull request cycle work in this case.
- arsenerei 13y agoHow is yours safer?
- jerf 13y agoSpaces in the path.