Browse Source

Fix go PATH

Tom McKenzie 7 years ago
parent
commit
c6a6bf18c6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .rc.d/applications.sh

+ 2 - 2
.rc.d/applications.sh

@@ -5,8 +5,8 @@ if [ -d "${HOME}/.nvm" ]; then
 fi
 
 # export golang bin path
-if [ -d "/usr/local/opt/go/libexec" ]; then
-  export PATH=$PATH:/usr/local/opt/go/libexec/bin
+if [ -d "~/go/bin" ]; then
+  export PATH=$PATH:~/go/bin
 fi
 
 # thefuck