dotfiles/files/zshrc
2015-07-17 11:30:34 +02:00

46 lines
1,018 B
Bash

# Oh My ZSH Path
export ZSH=~/.dotfiles/lib/ohmyzsh
# Oh My ZSH Theme
ZSH_THEME="pygmalion"
# Path
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$PATH"
# Plugins
plugins=(gem bundler composer git pip vagrant docker python extract)
plugins+=(npm archlinux systemd systemadmin frontend-search gitignore)
plugins+=(command-not-found colored-man)
# Color TERM
export TERM=xterm-256color
# Preferred editor for local and remote sessions
export EDITOR='nano'
# Load Oh My ZSH
source $ZSH/oh-my-zsh.sh
# Shell Syntax Highlighter
source ~/.dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
# CD without typing cd
setopt autocd
# History
setopt histsavenodups
setopt histverify
setopt histignorealldups
setopt extendedhistory
setopt histreduceblanks
export HISTSIZE=1000000 SAVEHIST=1000000 HISTFILE=~/.zhistory
# Dircolors
eval `dircolors ~/.dircolors`
# Source Aliases
source ~/.zsh/alias.zsh
# Completions Path
fpath=(~/.dotfiles/lib/completions/src $fpath)