config.fish 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. set fish_greeting "Capella"
  2. export PATH="/usr/local/bin:/bin:/usr/sbin:/sbin"
  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. export PATH="/usr/bin/:$PATH" &
  31. # # Add environment variable NDK_ROOT for cocos2d-x
  32. # export NDK_ROOT="/Users/gabrielcapella/Library/Android/sdk/ndk-bundle/"
  33. # export PATH="$NDK_ROOT:$PATH"
  34. # # Add environment variable SDKBOX_HOME for sdkbox installer
  35. # export SDKBOX_HOME="/Users/gabrielcapella/.sdkbox"
  36. # export PATH="/usr/bin/:$PATH"
  37. # The next line updates PATH for the Google Cloud SDK.
  38. if [ -f '/Users/gabrielcapella/.google-cloud-sdk/path.fish.inc' ]; . '/Users/gabrielcapella/.google-cloud-sdk/path.fish.inc'; end
  39. function subl;
  40. "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" $argv;
  41. end
  42. alias pb='curl -s --data-binary @- https://p.capella.pro/ | awk \'{ print "https://p.capella.pro/"$0; }\' | tee /tmp/pb | pbcopy && cat /tmp/pb'