1
0

.zshrc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # Path to your oh-my-zsh installation.
  2. export ZSH=/Users/tom/.oh-my-zsh
  3. # Set name of the theme to load.
  4. # Look in ~/.oh-my-zsh/themes/
  5. # Optionally, if you set this to "random", it'll load a random theme each
  6. # time that oh-my-zsh is loaded.
  7. ZSH_THEME="robbyrussell"
  8. # Uncomment the following line to use case-sensitive completion.
  9. # CASE_SENSITIVE="true"
  10. # Uncomment the following line to use hyphen-insensitive completion. Case
  11. # sensitive completion must be off. _ and - will be interchangeable.
  12. # HYPHEN_INSENSITIVE="true"
  13. # Uncomment the following line to disable bi-weekly auto-update checks.
  14. # DISABLE_AUTO_UPDATE="true"
  15. # Uncomment the following line to change how often to auto-update (in days).
  16. # export UPDATE_ZSH_DAYS=13
  17. # Uncomment the following line to disable colors in ls.
  18. # DISABLE_LS_COLORS="true"
  19. # Uncomment the following line to disable auto-setting terminal title.
  20. # DISABLE_AUTO_TITLE="true"
  21. # Uncomment the following line to enable command auto-correction.
  22. # ENABLE_CORRECTION="true"
  23. # Uncomment the following line to display red dots whilst waiting for completion.
  24. COMPLETION_WAITING_DOTS="true"
  25. # Uncomment the following line if you want to disable marking untracked files
  26. # under VCS as dirty. This makes repository status check for large repositories
  27. # much, much faster.
  28. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  29. # Uncomment the following line if you want to change the command execution time
  30. # stamp shown in the history command output.
  31. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  32. # HIST_STAMPS="mm/dd/yyyy"
  33. # Would you like to use another custom folder than $ZSH/custom?
  34. # ZSH_CUSTOM=/path/to/new-custom-folder
  35. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  36. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  37. # Example format: plugins=(rails git textmate ruby lighthouse)
  38. # Add wisely, as too many plugins slow down shell startup.
  39. plugins=(git nvm)
  40. # User configuration
  41. # export MANPATH="/usr/local/man:$MANPATH"
  42. source $ZSH/oh-my-zsh.sh
  43. # You may need to manually set your language environment
  44. # export LANG=en_US.UTF-8
  45. # Preferred editor for local and remote sessions
  46. # if [[ -n $SSH_CONNECTION ]]; then
  47. # export EDITOR='vim'
  48. # else
  49. # export EDITOR='mvim'
  50. # fi
  51. # Compilation flags
  52. # export ARCHFLAGS="-arch x86_64"
  53. # ssh
  54. # export SSH_KEY_PATH="~/.ssh/dsa_id"
  55. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  56. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  57. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  58. # For a full list of active aliases, run `alias`.
  59. #
  60. # Example aliases
  61. # alias zshconfig="mate ~/.zshrc"
  62. # alias ohmyzsh="mate ~/.oh-my-zsh"
  63. if [[ -n $SSH_CONNECTION ]]; then
  64. export EDITOR='vim'
  65. else
  66. export EDITOR='subl'
  67. fi
  68. export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
  69. test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
  70. export NVM_DIR="/Users/tom/.nvm"
  71. [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm