erirawan

zshrc

Sep 15th, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3.  
  4. # Path to your oh-my-zsh installation.
  5. export ZSH=/Users/eriirawan/.oh-my-zsh
  6.  
  7. # Set name of the theme to load. Optionally, if you set this to "random"
  8. # it'll load a random theme each time that oh-my-zsh is loaded.
  9. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  10. ZSH_THEME="powerlevel9k/powerlevel9k"
  11. POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context vcs nodeenv)
  12.  
  13. # Set list of themes to load
  14. # Setting this variable when ZSH_THEME=random
  15. # cause zsh load theme from this variable instead of
  16. # looking in ~/.oh-my-zsh/themes/
  17. # An empty array have no effect
  18. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  19.  
  20. # Uncomment the following line to use case-sensitive completion.
  21. # CASE_SENSITIVE="true"
  22.  
  23. # Uncomment the following line to use hyphen-insensitive completion. Case
  24. # sensitive completion must be off. _ and - will be interchangeable.
  25. # HYPHEN_INSENSITIVE="true"
  26.  
  27. # Uncomment the following line to disable bi-weekly auto-update checks.
  28. # DISABLE_AUTO_UPDATE="true"
  29.  
  30. # Uncomment the following line to change how often to auto-update (in days).
  31. # export UPDATE_ZSH_DAYS=13
  32.  
  33. # Uncomment the following line to disable colors in ls.
  34. # DISABLE_LS_COLORS="true"
  35.  
  36. # Uncomment the following line to disable auto-setting terminal title.
  37. # DISABLE_AUTO_TITLE="true"
  38.  
  39. # Uncomment the following line to enable command auto-correction.
  40. # ENABLE_CORRECTION="true"
  41.  
  42. # Uncomment the following line to display red dots whilst waiting for completion.
  43. # COMPLETION_WAITING_DOTS="true"
  44.  
  45. # Uncomment the following line if you want to disable marking untracked files
  46. # under VCS as dirty. This makes repository status check for large repositories
  47. # much, much faster.
  48. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  49.  
  50. # Uncomment the following line if you want to change the command execution time
  51. # stamp shown in the history command output.
  52. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  53. # HIST_STAMPS="mm/dd/yyyy"
  54.  
  55. # Would you like to use another custom folder than $ZSH/custom?
  56. # ZSH_CUSTOM=/path/to/new-custom-folder
  57.  
  58. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  59. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  60. # Example format: plugins=(rails git textmate ruby lighthouse)
  61. # Add wisely, as too many plugins slow down shell startup.
  62. plugins=(
  63. git
  64. )
  65.  
  66. source $ZSH/oh-my-zsh.sh
  67.  
  68. # User configuration
  69.  
  70. # export MANPATH="/usr/local/man:$MANPATH"
  71.  
  72. # You may need to manually set your language environment
  73. # export LANG=en_US.UTF-8
  74.  
  75. # Preferred editor for local and remote sessions
  76. # if [[ -n $SSH_CONNECTION ]]; then
  77. # export EDITOR='vim'
  78. # else
  79. # export EDITOR='mvim'
  80. # fi
  81.  
  82. # Compilation flags
  83. # export ARCHFLAGS="-arch x86_64"
  84.  
  85. # ssh
  86. # export SSH_KEY_PATH="~/.ssh/rsa_id"
  87.  
  88. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  89. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  90. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  91. # For a full list of active aliases, run `alias`.
  92. #
  93. # Example aliases
  94. # alias zshconfig="mate ~/.zshrc"
  95. # alias ohmyzsh="mate ~/.oh-my-zsh"
  96.  
  97. export ANDROID_HOME=$HOME/Library/Android/sdk
  98. export PATH=$PATH:$ANDROID_HOME/tools
  99. export PATH=$PATH:$ANDROID_HOME/platform-tools
  100. emulator='$ANDROID_HOME/tools/emulator'
  101.  
  102. alias Nexus_5X_API_23="emulator -avd Nexus_5X_API_23 -netdelay none -netspeed full"
  103.  
  104. # The next line updates PATH for the Google Cloud SDK.
  105. if [ -f '/Users/eriirawan/Applications/google-cloud-sdk/path.zsh.inc' ]; then source '/Users/eriirawan/Applications/google-cloud-sdk/path.zsh.inc'; fi
  106.  
  107. # The next line enables shell command completion for gcloud.
  108. if [ -f '/Users/eriirawan/Applications/google-cloud-sdk/completion.zsh.inc' ]; then source '/Users/eriirawan/Applications/google-cloud-sdk/completion.zsh.inc'; fi
  109.  
  110.  
  111. export NVM_DIR="$HOME/.nvm"
  112. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
  113. [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
  114.  
  115. # The AWS CLI Executable to Your Command Line Path
  116. export PATH=~/.local/bin:$PATH
  117.  
  118. # tabtab source for serverless package
  119. # uninstall by removing these lines or running `tabtab uninstall serverless`
  120. [[ -f /Users/eriirawan/.nvm/versions/node/v10.16.0/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh ]] && . /Users/eriirawan/.nvm/versions/node/v10.16.0/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh
  121. # tabtab source for sls package
  122. # uninstall by removing these lines or running `tabtab uninstall sls`
  123. [[ -f /Users/eriirawan/.nvm/versions/node/v10.16.0/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh ]] && . /Users/eriirawan/.nvm/versions/node/v10.16.0/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh
  124. # tabtab source for slss package
  125. # uninstall by removing these lines or running `tabtab uninstall slss`
  126. [[ -f /Users/eriirawan/.nvm/versions/node/v10.16.0/lib/node_modules/serverless/node_modules/tabtab/.completions/slss.zsh ]] && . /Users/eriirawan/.nvm/versions/node/v10.16.0/lib/node_modules/serverless/node_modules/tabtab/.completions/slss.zsh
Advertisement
Add Comment
Please, Sign In to add comment