etc/zshrc

27 lines
626 B
Bash

# Copyright (C) 2004-2011 Gabriel Ebner
. ~/.commonshrc
# nix
fpath+=(/run/current-system/sw/share/zsh/site-functions)
plugins=(git svn-fast-info mercurial cabal gem perl rails ruby)
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