.zshrc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ZSH=$HOME/.oh-my-zsh
  2. export PATH="/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/share/npm/bin:$PATH"
  3. export PATH=$HOME/bin:/usr/local/bin:$PATH
  4. export PATH="/usr/local/git/bin:$PATH"
  5. export PATH=/usr/local/share/npm/bin:$PATH
  6. export NODE_PATH=/usr/local/lib/node_modules
  7. export NVM_DIR=~/.nvm
  8. source $(brew --prefix nvm)/nvm.sh
  9. PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
  10. [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
  11. ZSH_THEME="dpoggi"
  12. export EDITOR='mate -w'
  13. DISABLE_AUTO_UPDATE="true"
  14. source $ZSH/oh-my-zsh.sh
  15. plugins=(git textmate ruby rails node)
  16. # alias zshconfig="mate ~/.zshrc"
  17. # alias ohmyzsh="mate ~/.oh-my-zsh"
  18. # CASE_SENSITIVE="true"
  19. # DISABLE_AUTO_UPDATE="true"
  20. # export UPDATE_ZSH_DAYS=33
  21. # DISABLE_CORRECTION="true"
  22. # COMPLETION_WAITING_DOTS="true"
  23. # export MANPATH="/usr/local/man:$MANPATH"
  24. # # Preferred editor for local and remote sessions
  25. # if [[ -n $SSH_CONNECTION ]]; then
  26. # export EDITOR='vim'
  27. # else
  28. # export EDITOR='mvim'
  29. # fi
  30. # Compilation flags
  31. # export ARCHFLAGS="-arch x86_64"
  32. # ssh
  33. # export SSH_KEY_PATH="~/.ssh/dsa_id"
  34. bindkey -v
  35. bindkey '^P' up-history
  36. bindkey '^N' down-history
  37. bindkey '^?' backward-delete-char
  38. bindkey '^h' backward-delete-char
  39. bindkey '^w' backward-kill-word
  40. bindkey '^r' history-incremental-search-backward
  41. export KEYTIMEOUT=1