config.fish 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. set fish_greeting "Capella"
  2. export PATH="/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/bin/"
  3. export PATH="$PATH:$HOME/.node/bin"
  4. export PATH="$PATH:$HOME/go/bin"
  5. # test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
  6. # set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
  7. # set -g fish_user_paths "/usr/local/opt/gnu-getopt/bin" $fish_user_paths
  8. # #if status is-interactive
  9. # #and not set -q TMUX
  10. # # exec tmux
  11. # #end
  12. # # The next line updates PATH for the Google Cloud SDK.
  13. # if [ -f '/Users/gabrielcapella/.g/google-cloud-sdk/path.fish.inc' ]; . '/Users/gabrielcapella/.g/google-cloud-sdk/path.fish.inc'; end
  14. # set -g fish_user_paths "/usr/local/opt/openssl@1.1/bin" $fish_user_paths
  15. # status --is-interactive; and source (rbenv init -|psub)
  16. # # Add environment variable COCOS_CONSOLE_ROOT for cocos2d-x
  17. # export COCOS_CONSOLE_ROOT="/Users/gabrielcapella/cocos2d-x/tools/cocos2d-console/bin"
  18. # export PATH="$COCOS_CONSOLE_ROOT:$PATH"
  19. # # Add environment variable COCOS_X_ROOT for cocos2d-x
  20. # export COCOS_X_ROOT="/Users/gabrielcapella"
  21. # export PATH="$COCOS_X_ROOT:$PATH"
  22. # # Add environment variable COCOS_TEMPLATES_ROOT for cocos2d-x
  23. # export COCOS_TEMPLATES_ROOT="/Users/gabrielcapella/cocos2d-x/templates"
  24. # export PATH="$COCOS_TEMPLATES_ROOT:$PATH"
  25. # # Add environment variable ANDROID_SDK_ROOT for cocos2d-x
  26. export ANDROID_SDK_ROOT="/Users/gabrielcapella/Library/Android/sdk"
  27. export PATH="$ANDROID_SDK_ROOT:$PATH"
  28. export PATH="$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools:$PATH"
  29. export ANDROID_AVD_HOME="$HOME/.android/"
  30. # # Add environment variable NDK_ROOT for cocos2d-x
  31. # export NDK_ROOT="/Users/gabrielcapella/Library/Android/sdk/ndk-bundle/"
  32. # export PATH="$NDK_ROOT:$PATH"
  33. # # Add environment variable SDKBOX_HOME for sdkbox installer
  34. # export SDKBOX_HOME="/Users/gabrielcapella/.sdkbox"
  35. # export PATH="/usr/bin/:$PATH"
  36. function subl;
  37. "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" $argv;
  38. end
  39. alias pb='curl -s --data-binary @- https://p.capella.pro/ | awk \'{ print "https://p.capella.pro/"$0; }\' | tee /tmp/pb | pbcopy && cat /tmp/pb'
  40. # The next line updates PATH for the Google Cloud SDK.
  41. if [ -f '/Users/gabrielcapella/Documents/google-cloud-sdk/path.fish.inc' ]; . '/Users/gabrielcapella/Documents/google-cloud-sdk/path.fish.inc'; end
  42. alias syncdots='curl https://git.capella.pro/capella/dotfiles/raw/master/start | bash -s -- sync'