zshrc 830 B

1234567891011121314151617181920212223242526272829303132
  1. # Lines configured by zsh-newuser-install
  2. HISTFILE=~/.histfile
  3. HISTSIZE=1000
  4. SAVEHIST=1000
  5. setopt incappendhistory nomatch correct_all
  6. unsetopt beep
  7. bindkey -v
  8. zstyle :compinstall filename '/Users/drew/.zshrc'
  9. autoload -Uz compinit
  10. compinit
  11. export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
  12. autoload -U colors && colors
  13. # Have to reset color to cyan after the bold tags for some reason.
  14. PROMPT="%{$fg[cyan]%}[%n@%M %B%1~%b%{$fg[cyan]%}]%# %{$reset_color%}"
  15. alias ll='ls -alF'
  16. alias la='ls -A'
  17. alias l='ls -CF'
  18. alias ls='ls -G'
  19. export EDITOR="mvim"
  20. alias vim="mvim"
  21. # Set Home, End, Del, PgUp, PgDown keys to actually do something.
  22. bindkey '^[OH' beginning-of-line
  23. bindkey '^[OF' end-of-line
  24. bindkey '^[[3~' delete-char
  25. bindkey '^[[5~' beginning-of-buffer-or-history
  26. bindkey '^[[6~' end-of-buffer-or-history