/.zshrc
https://github.com/Valiev/config · Zsh · 128 lines · 65 code · 21 blank · 42 comment · 1 complexity · fcc4120a5e3a723271566b4ebe34c76d MD5 · raw file
- # 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="robbyrussell"
- ZSH_THEME="kolo"
- # ZSH_THEME="sorin"
- ZSH_THEME="gozilla"
- ZSH_THEME="dieter"
- ZSH_THEME="kolo"
- ZSH_THEME="arrow"
- ZSH_THEME="wezm"
- # Example aliases
- # alias zshconfig="mate ~/.zshrc"
- # alias ohmyzsh="mate ~/.oh-my-zsh"
- alias - -='cd -'
- zstyle ":completion:*:commands" rehash 1
- # Colors
- eval `gdircolors dev/opensource/dircolors-solarized/dircolors.ansi-dark`
- # Set to this to use case-sensitive completion
- # CASE_SENSITIVE="true"
- # Comment this out to disable bi-weekly auto-update checks
- # DISABLE_AUTO_UPDATE="true"
- # Uncomment to change how often before auto-updates occur? (in days)
- # export UPDATE_ZSH_DAYS=13
- # 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"
- # Uncomment following line if you want to disable command autocorrection
- DISABLE_CORRECTION="true"
- # Uncomment following line if you want red dots to be displayed while waiting for completion
- COMPLETION_WAITING_DOTS="true"
- # Uncomment following line if you want to disable marking untracked files under
- # VCS as dirty. This makes repository status check for large repositories much,
- # much faster.
- DISABLE_UNTRACKED_FILES_DIRTY="true"
- ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
- # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
- # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
- # Example format: plugins=(rails git textmate ruby lighthouse)
- plugins=(
- git
- git-extras
- osx
- knife
- extract
- colorize
- themes
- zsh-syntax-highlighting
- command-not-found
- autojump
- dircycle
- lol
- brew
- sprunge
- fzf
- gem
- jsontools
- dirhistory
- sublime
- sudo
- npm
- bundle
- kitchen
- vagrant
- almostontop
- emoji
- )
- source ~/.bash_aliases
- source $ZSH/oh-my-zsh.sh
- source "$(butler --init-completion)"
- # Better history search
- autoload -U up-line-or-beginning-search
- autoload -U down-line-or-beginning-search
- zle -N up-line-or-beginning-search
- zle -N down-line-or-beginning-search
- bindkey "^[[A" up-line-or-beginning-search # Up
- bindkey "^[[B" down-line-or-beginning-search # Down]]
- COMPLETION_WAITING_DOTS="true"
- export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help";
- fancy-ctrl-z () {
- if [[ $#BUFFER -eq 0 ]]; then
- BUFFER="fg"
- zle accept-line
- else
- zle push-input
- zle clear-screen
- fi
- }
- zle -N fancy-ctrl-z
- bindkey '^Z' fancy-ctrl-z
- # Setup zsh-autosuggestions
- # source ~/.zsh-autosuggestions/autosuggestions.zsh
- # Enable autosuggestions automatically
- # zle-line-init() {
- # zle autosuggest-start
- # }
- # zle -N zle-line-init
- # use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
- # zsh-autosuggestions is designed to be unobtrusive)
- # bindkey '^T' autosuggest-toggle
- # Customize to your needs...
- export PATH=/usr/local/sbin:/usr/local/bin:$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/valiev/.rvm/bin
- #export DYLD_INSERT_LIBRARIES="/Users/valiev/dev/opensource/stderred/build/libstderred.dylib${DYLD_INSERT_LIBRARIES:+:$DYLD_INSERT_LIBRARIES}"