Guest User

Untitled

a guest
Jan 23rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. # Path to your oh-my-zsh configuration.
  2. ZSH=$HOME/.oh-my-zsh
  3.  
  4. # Set name of the theme to load.
  5. # Look in ~/.oh-my-zsh/themes/
  6. # Optionally, if you set this to "random", it'll load a random theme each
  7. # time that oh-my-zsh is loaded.
  8. #ZSH_THEME="alanpeabody"
  9. #ZSH_THEME="dieter"
  10. ZSH_THEME="eastwood"
  11. #ZSH_THEME="gallois"
  12. #ZSH_THEME="fishy"
  13. #ZSH_THEME="miloshadzic"
  14. #ZSH_THEME="mrtazz"
  15. #ZSH_THEME="terminalparty"
  16. #ZSH_THEME="muse"
  17.  
  18. # Set to this to use case-sensitive completion
  19. # CASE_SENSITIVE="true"
  20.  
  21. # Comment this out to disable weekly auto-update checks
  22. # DISABLE_AUTO_UPDATE="true"
  23.  
  24. # Uncomment following line if you want to disable colors in ls
  25. # DISABLE_LS_COLORS="true"
  26.  
  27. # Uncomment following line if you want to disable autosetting terminal title.
  28. # DISABLE_AUTO_TITLE="true"
  29.  
  30. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  31. # Example format: plugins=(rails git textmate ruby lighthouse)
  32. plugins=(git git-flow textmate rvm)
  33.  
  34. source $ZSH/oh-my-zsh.sh
  35.  
  36.  
  37. # Customize to your needs...
  38. # -----------------------------------------------------------
  39. # Aliases
  40. alias gup='git pull --rebase origin $(current_branch)'
  41. compdef gup=git
  42. alias gpush='git push origin $(current_branch)'
  43. compdef gpush=git
  44. alias gsync='git pull --rebase origin $(current_branch) && git push origin $(current_branch)'
  45. compdef gsync=git
  46.  
  47. # -----------------------------------------------------------
  48. # AUTOCOMPLETE TWEAKS
  49. unsetopt menu_complete # do not autoselect the first completion entry
  50. unsetopt flowcontrol
  51. setopt auto_menu # show completion menu on succesive tab press
  52. setopt complete_in_word
  53. setopt always_to_end
  54. zstyle ':completion:*' add-space true
  55. zstyle ':completion:*' completer _expand _complete _match _prefix _approximate _list
  56. zstyle ':completion:*' menu select=1
  57. zstyle ':completion:*' file-sort name
  58. zstyle ':completion:*' list-colors ${(s.:.)ZLS_COLORS}
  59. zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=** r:|=**' 'l:|=** r:|=**'
  60. #zstyle ':completion:*' matcher-list 'r:|[._-]=** r:|=**' 'l:|=** r:|=**'
  61. zstyle ':completion:*' menu select
  62. zstyle ':completion:*:approximate:*' max-errors 'reply=( $(( ($#PREFIX+$#SUFFIX)/3 )) numeric )'
  63. zstyle ':completion:*' group 1
  64. zstyle ':completion:*' format '%B---- %d%b'
  65. zstyle ':completion:*:corrections' format '%B---- %d (errors %e)%b'
  66. zstyle ':completion:*:descriptions' format "%B---- %d%b"
  67. zstyle ':completion:*:messages' format '%B%U---- %d%u%b'
  68. zstyle ':completion:*:warnings' format "%B$fg[red]%}---- no match for: $fg[white]%d%b"
  69. zstyle ':completion:*' group-name ''
  70. # -----------------------------------------------------------
  71. # PATH
  72. PATH="$HOME/bin:/usr/local/bin:/usr/share/bin:/usr/local/rvm/bin:$PATH"
Add Comment
Please, Sign In to add comment