Realpath for gopath (#108)
This commit is contained in:
parent
15237eeac4
commit
009b0f712a
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
export GOPATH=~/go
|
export GOPATH=`realpath "$HOME/go"`
|
||||||
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
||||||
export PATH=$HOME/tools:$PATH
|
export PATH=$HOME/tools:$PATH
|
||||||
export PATH=$GOPATH/bin:$PATH
|
export PATH=$GOPATH/bin:$PATH
|
||||||
|
|
|
@ -181,7 +181,8 @@ if [[ -z $NOVIM ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $NO_GO ]]; then
|
if [[ -z $NO_GO ]]; then
|
||||||
export GOPATH="$HOME/go"
|
GOPATH="$HOME/go"
|
||||||
|
export GOPATH=`realpath "$GOPATH"`
|
||||||
mkdir -p "$GOPATH"
|
mkdir -p "$GOPATH"
|
||||||
|
|
||||||
# excercism
|
# excercism
|
||||||
|
|
Loading…
Reference in a new issue