Fix go paths

This commit is contained in:
ViViDboarder 2015-08-26 14:29:51 -07:00
parent a58a9a3496
commit f866f6a2ea
2 changed files with 13 additions and 3 deletions

View File

@ -6,7 +6,7 @@ set-option -g set-titles on
set-option -g set-titles-string '[#S:#I] #W'
# copy and paster
if-shell 'test "$(uname -s)" = "Darwin"' 'set-option -g default-command "reattach-to-user-namespace-tmux $SHELL"'
# if-shell 'test "$(uname -s)" = "Darwin"' 'set-option -g default-command "reattach-to-user-namespace-tmux $SHELL"'
# look good
set -g default-terminal "screen-256color"

View File

@ -21,13 +21,23 @@ else if [ $det_os = "mac" ]
set android_sdk $HOME/workspace/android-sdk-macosx
# set PATH $HOME/Library/Python/2.7/bin $PATH
set -gx GOROOT $HOME/workspace/go
set -gx GOROOT /usr/local/go
set -gx PATH $PATH $GOROOT/bin
set go_workspace $HOME/workspace/go
set -gx PATH $PATH $go_workspace/bin
set -gx GOPATH $go_workspace $GOROOT
# Fix Python path on OSX to avoid considering System extras over newer versions
set -gx PYTHONPATH /Library/Python/2.7/site-packages $PYTHONPATH
# set -gx PYTHONPATH /Library/Python/2.7/site-packages $PYTHONPATH
end
# Google cloud sdk
# set sdk_dir "$HOME/workspace/google-cloud-sdk"
# set bin_path "$sdk_dir/bin"
# set -gx PATH $bin_path $PATH
# set -gx PYTHONPATH "$sdk_dir/platform/google_appengine" $PYTHONPATH
set -gx ANDROID_HOME $android_sdk
set -gx PATH $PATH $android_sdk/platform-tools $android_sdk/tools