dotfiles/zshrc
2015-07-16 18:57:43 +02:00

40 lines
943 B
Bash

# Path
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$PATH"
# Color TERM
export TERM=xterm-256color
# Preferred editor for local and remote sessions
export EDITOR='nano'
# Load Fresh
source ~/.fresh/build/shell.sh
# Source Antigen config
source ~/.dotfiles/zsh/antigen.zsh
# Shell Syntax Highlighter
source ~/.fresh/build/vendor/zsh-syntax-highlighting.zsh
source ~/.fresh/build/vendor/highlighters/main/main-highlighter.zsh
source ~/.fresh/build/vendor/highlighters/brackets/brackets-highlighter.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 ~/.dotfiles/dircolors`
# Source Aliases
source ~/.dotfiles/zsh/alias.zsh
# Completions Path
fpath=(~/.fresh/build/completion $fpath)