zshrc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Lines configured by zsh-newuser-install
  2. HISTFILE=~/.histfile
  3. HISTSIZE=1000
  4. SAVEHIST=1000
  5. setopt incappendhistory nomatch
  6. unsetopt beep
  7. bindkey -v
  8. # End of lines configured by zsh-newuser-install
  9. # The following lines were added by compinstall
  10. zstyle :compinstall filename '/Users/drew/.zshrc'
  11. autoload -Uz compinit
  12. compinit
  13. # End of lines added by compinstall
  14. export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
  15. autoload -U colors && colors
  16. # Have to reset color to cyan after the bold tags for some reason.
  17. PROMPT="%{$fg[cyan]%}[%n@%M %B%1~%b%{$fg[cyan]%}]%# %{$reset_color%}"
  18. alias ll='ls -alF'
  19. alias la='ls -A'
  20. alias l='ls -CF'
  21. alias ls='ls -G'
  22. # Allow ctrl+S in vim to save files, ie pass
  23. # the command to vim when vim is open.
  24. export EDITOR="mvim"
  25. alias vim="mvim"
  26. alias xbox_controller='sudo xboxdrv --config ~/Documents/xboxdrv_profiles/wiredxbox_minecraft.conf --detach-kernel-driver'
  27. # Set Home, End, Del, PgUp, PgDown keys to actually do something.
  28. bindkey '^[OH' beginning-of-line
  29. bindkey '^[OF' end-of-line
  30. bindkey '^[[3~' delete-char
  31. bindkey '^[[5~' beginning-of-buffer-or-history
  32. bindkey '^[[6~' end-of-buffer-or-history