various dotfiles I use in my linux setup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.zshrc 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. alias vi='vim'
  2. alias cabal='~/.cabal/bin/cabal'
  3. alias lsc='ls --color=no'
  4. export EDITOR="vim"
  5. alias dict="nocorrect dict"
  6. fortune ~/fortune-mod-buddhism/buddhism
  7. echo ""
  8. bindkey "\e[1~" beginning-of-line
  9. bindkey "\e[4~" end-of-line
  10. bindkey "\e[5~" beginning-of-history
  11. bindkey "\e[6~" end-of-history
  12. bindkey "\e[3~" delete-char
  13. #bindkey "^[[3~" delete-char
  14. #bindkey "^[3;5~" delete-char
  15. bindkey "\e[2~" quoted-insert
  16. bindkey "\e[5C" forward-word
  17. bindkey "\eOc" emacs-forward-word
  18. bindkey "\e[5D" backward-word
  19. bindkey "\eOd" emacs-backward-word
  20. bindkey "\e\e[C" forward-word
  21. bindkey "\e\e[D" backward-word
  22. # for rxvt
  23. bindkey "\e[8~" end-of-line
  24. bindkey "\e[7~" beginning-of-line
  25. # for non RH/Debian xterm, can't hurt for RH/Debian xterm
  26. bindkey "\eOH" beginning-of-line
  27. bindkey "\eOF" end-of-line
  28. # for freebsd console
  29. bindkey "\e[H" beginning-of-line
  30. bindkey "\e[F" end-of-line
  31. bindkey "^[[A" history-search-backward
  32. bindkey "^[[B" history-search-forward
  33. # Path to your oh-my-zsh configuration.
  34. export ZSH=$HOME/.oh-my-zsh
  35. # Set to the name theme to load.
  36. # Look in ~/.oh-my-zsh/themes/
  37. export ZSH_THEME="uranther"
  38. # Set to this to use case-sensitive completion
  39. # export CASE_SENSITIVE="true"
  40. # Comment this out to disable weekly auto-update checks
  41. # export DISABLE_AUTO_UPDATE="true"
  42. # Uncomment following line if you want to disable colors in ls
  43. # export DISABLE_LS_COLORS="true"
  44. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  45. # Example format: plugins=(rails git textmate ruby lighthouse)
  46. plugins=()
  47. source $ZSH/oh-my-zsh.sh
  48. # Customize to your needs...
  49. export PATH=/home/james/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/usr/games