Browse Source

Fix go PATH

Tom McKenzie 7 năm trước cách đây
mục cha
commit
c6a6bf18c6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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