Guest User

Untitled

a guest
Jul 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [ -f $HOME/.profile ] && . $HOME/.profile
  2.  
  3. HISTSIZE=1000
  4. SAVEHIST=1000
  5. HISTFILE=$HOME/.zsh_history
  6. setopt append_history
  7. setopt inc_append_history
  8. setopt extended_history
  9. setopt hist_find_no_dups
  10. setopt hist_ignore_all_dups
  11. setopt hist_reduce_blanks
  12. setopt hist_ignore_space
  13. setopt hist_no_store
  14. setopt hist_no_functions
  15. setopt no_hist_beep
  16. setopt hist_save_no_dups
  17.  
  18. setopt no_automenu
  19.  
  20. setopt prompt_subst
  21.  
  22. autoload -U compinit && compinit
  23. autoload -U select-word-style && select-word-style bash
  24. autoload -U colors && colors
  25. autoload -U vcs_info
  26.  
  27. zstyle ':vcs_info:*' enable git svn
  28. zstyle ':vcs_info:*' actionformats '(%s)-[%b|%a] '
  29. zstyle ':vcs_info:*' formats '(%s)-[%b] '
  30. zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b'
  31.  
  32. precmd() {
  33. print -Pn "\e]0;%~\a"
  34. vcs_info
  35. }
  36.  
  37. preexec() {
  38. print -Pn "\e]0;%~ :: $1\a"
  39. }
  40.  
  41. PROMPT='%B%F{blue}%~%f%b ${vcs_info_msg_0_}%B%F{blue}%#%f%b '
  42.  
  43. eval `dircolors` && zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
  44.  
  45. alias ls='ls --color=always'
  46. alias grep='grep --color=always'
  47.  
  48. export EDITOR='vim'
  49.  
  50. #if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
  51.  
  52. #git flow competition
  53. source ~/.zsh/git-flow-completion.zsh
  54.  
  55. export PATH=$HOME/bin:/var/lib/gems/1.8/bin:$PATH
  56. export JDK_HOME=/usr/lib/jvm/java-6-sun
Add Comment
Please, Sign In to add comment