Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Path to your oh-my-zsh configuration.
- ZSH=$HOME/.oh-my-zsh
- # Set name of the theme to load.
- # Look in ~/.oh-my-zsh/themes/
- # Optionally, if you set this to "random", it'll load a random theme each
- # time that oh-my-zsh is loaded.
- #ZSH_THEME="alanpeabody"
- #ZSH_THEME="dieter"
- ZSH_THEME="eastwood"
- #ZSH_THEME="gallois"
- #ZSH_THEME="fishy"
- #ZSH_THEME="miloshadzic"
- #ZSH_THEME="mrtazz"
- #ZSH_THEME="terminalparty"
- #ZSH_THEME="muse"
- # Set to this to use case-sensitive completion
- # CASE_SENSITIVE="true"
- # Comment this out to disable weekly auto-update checks
- # DISABLE_AUTO_UPDATE="true"
- # Uncomment following line if you want to disable colors in ls
- # DISABLE_LS_COLORS="true"
- # Uncomment following line if you want to disable autosetting terminal title.
- # DISABLE_AUTO_TITLE="true"
- # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
- # Example format: plugins=(rails git textmate ruby lighthouse)
- plugins=(git git-flow textmate rvm)
- source $ZSH/oh-my-zsh.sh
- # Customize to your needs...
- # -----------------------------------------------------------
- # Aliases
- alias gup='git pull --rebase origin $(current_branch)'
- compdef gup=git
- alias gpush='git push origin $(current_branch)'
- compdef gpush=git
- alias gsync='git pull --rebase origin $(current_branch) && git push origin $(current_branch)'
- compdef gsync=git
- # -----------------------------------------------------------
- # AUTOCOMPLETE TWEAKS
- unsetopt menu_complete # do not autoselect the first completion entry
- unsetopt flowcontrol
- setopt auto_menu # show completion menu on succesive tab press
- setopt complete_in_word
- setopt always_to_end
- zstyle ':completion:*' add-space true
- zstyle ':completion:*' completer _expand _complete _match _prefix _approximate _list
- zstyle ':completion:*' menu select=1
- zstyle ':completion:*' file-sort name
- zstyle ':completion:*' list-colors ${(s.:.)ZLS_COLORS}
- zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 'r:|[._-]=** r:|=**' 'l:|=** r:|=**'
- #zstyle ':completion:*' matcher-list 'r:|[._-]=** r:|=**' 'l:|=** r:|=**'
- zstyle ':completion:*' menu select
- zstyle ':completion:*:approximate:*' max-errors 'reply=( $(( ($#PREFIX+$#SUFFIX)/3 )) numeric )'
- zstyle ':completion:*' group 1
- zstyle ':completion:*' format '%B---- %d%b'
- zstyle ':completion:*:corrections' format '%B---- %d (errors %e)%b'
- zstyle ':completion:*:descriptions' format "%B---- %d%b"
- zstyle ':completion:*:messages' format '%B%U---- %d%u%b'
- zstyle ':completion:*:warnings' format "%B$fg[red]%}---- no match for: $fg[white]%d%b"
- zstyle ':completion:*' group-name ''
- # -----------------------------------------------------------
- # PATH
- PATH="$HOME/bin:/usr/local/bin:/usr/share/bin:/usr/local/rvm/bin:$PATH"
Add Comment
Please, Sign In to add comment