aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-01-29 17:32:02 +0100
committerAdrian Kummerländer2014-01-29 17:32:02 +0100
commita75c4fb7155dbdbec32725c94c596c81752e0011 (patch)
tree39756904ba8ca8779551f21c6b9e07757e48777c /zsh
downloaddotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.gz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.bz2
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.lz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.xz
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.tar.zst
dotfiles-a75c4fb7155dbdbec32725c94c596c81752e0011.zip
Initial commit of my current dotfiles
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc24
1 files changed, 24 insertions, 0 deletions
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'