etc/zshrc

33 lines
736 B
Bash

# Copyright (C) 2004-2011 Gabriel Ebner
. ~/.commonshrc
# oh-my-zsh
export ZSH=$HOME/etc/oh-my-zsh
export ZSH_THEME=gebner
export DISABLE_AUTO_UPDATE=true
plugins=(git svn-fast-info mercurial cabal gem perl rails ruby)
source $ZSH/oh-my-zsh.sh
unset GREP_OPTIONS # oh-my-zsh breaks grep...
setopt nocorrect_all
alias ll=ll # lojban lookup
alias gm=gm # graphicsmagick
alias l='ls -lha'
alias ar=ar
which _pass >/dev/null && compdef passc=pass
# History
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE
HISTSIZE=100000
SAVEHIST=100000
HISTFILE=~/.zhist
# OPAM configuration
. ~/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true