2011-07-28 20:13:48 +00:00
|
|
|
# Copyright (C) 2004-2011 Gabriel Ebner
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2011-04-30 18:21:21 +00:00
|
|
|
. ~/.commonshrc
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2011-07-28 20:13:48 +00:00
|
|
|
# oh-my-zsh
|
|
|
|
export ZSH=$HOME/etc/oh-my-zsh
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2011-07-28 20:27:15 +00:00
|
|
|
export ZSH_THEME=gebner
|
2011-07-28 20:13:48 +00:00
|
|
|
export DISABLE_AUTO_UPDATE=true
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2014-10-01 18:29:09 +00:00
|
|
|
plugins=(git svn-fast-info mercurial cabal gem perl rails ruby)
|
2008-03-16 21:02:24 +00:00
|
|
|
|
2011-07-28 20:13:48 +00:00
|
|
|
source $ZSH/oh-my-zsh.sh
|
2014-11-24 10:21:46 +00:00
|
|
|
unset GREP_OPTIONS # oh-my-zsh breaks grep...
|
2011-07-28 20:13:48 +00:00
|
|
|
|
2011-08-10 17:39:52 +00:00
|
|
|
setopt nocorrect_all
|
2014-06-02 08:24:31 +00:00
|
|
|
alias ll=ll # lojban lookup
|
|
|
|
alias gm=gm # graphicsmagick
|
2011-08-27 18:54:14 +00:00
|
|
|
alias l='ls -lha'
|
2012-04-24 22:17:12 +00:00
|
|
|
alias ar=ar
|
2011-08-10 17:39:52 +00:00
|
|
|
|
2014-08-31 11:37:14 +00:00
|
|
|
which _pass >/dev/null && compdef passc=pass
|
2014-07-28 14:08:02 +00:00
|
|
|
|
2011-07-28 20:13:48 +00:00
|
|
|
# History
|
2008-03-16 21:02:24 +00:00
|
|
|
setopt APPEND_HISTORY SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY \
|
2010-03-18 10:06:24 +00:00
|
|
|
HIST_IGNORE_ALL_DUPS HIST_FIND_NO_DUPS HIST_IGNORE_SPACE
|
2008-03-16 21:02:24 +00:00
|
|
|
HISTSIZE=100000
|
|
|
|
SAVEHIST=100000
|
|
|
|
HISTFILE=~/.zhist
|
2014-08-31 11:37:14 +00:00
|
|
|
|
|
|
|
# OPAM configuration
|
2014-08-31 11:39:30 +00:00
|
|
|
. ~/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
|