소스 검색

Fix go PATH

Tom McKenzie 7 년 전
부모
커밋
c6a6bf18c6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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