From a75c4fb7155dbdbec32725c94c596c81752e0011 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Wed, 29 Jan 2014 17:32:02 +0100 Subject: Initial commit of my current dotfiles --- zsh/.zshrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 zsh/.zshrc (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..cb38775 --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,24 @@ +setopt no_beep auto_cd complete_in_word correct rm_star_wait hist_ignore_all_dups share_history append_history extended_history +eval `dircolors` +PROMPT='%B%n:~#%b ' +RPROMPT='%/' +export EDITOR=vim +export PAGER=less + +autoload -U compinit && compinit +zstyle ':completion:*' menu select=1 +zstyle ':completion:*' completer _complete _correct _approximate + +HISTFILE=~/.zsh_history +SAVEHIST=10000000 +HISTSIZE=12000000 + +alias ls='ls --color=auto' +alias grep='grep --color' +alias evince='evince &> /dev/null' +alias svim='sudo vim' + +alias sdefi='find -iname \*.h | xargs grep $1' +alias simpl='find -iname \*.cc | xargs grep $1' +alias grepsearch='grep -iRnH "$@"' +alias psgrep='ps axuf | grep -v grep | grep "$@" -i --color=auto' -- cgit v1.2.3