zshrc added

This commit is contained in:
madmaurice 2015-05-29 20:59:40 +02:00
parent 89c8808485
commit afea0e9e43

57
zshrc Normal file
View file

@ -0,0 +1,57 @@
# Lines configured by zsh-newuser-install
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/madmaurice/.zshrc'
zstyle ':completion:*' menu select
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_STYLE_OVERRIDE=gtk
autoload -Uz compinit
compinit
autoload -U colors && colors
PROMPT="%{$fg[blue]%}> %{$reset_color%}"
RPROMPT="%{$fg[blue]%}%~%{$reset_color%}"
alias ls="ls --color=auto"
alias cd..="cd .."
alias ..="cd .."
alias cpg="vcp -g"
alias zncmpcpp="ncmpcpp -h user.vm.zom.bi"
alias mpvn="mpv -fs --cache=20000"
alias calc="python2 ~/Projects/pyCalc/main.py"
alias disks="df -h"
alias space="du -shx *"
alias emacs="vim"
zwget() {
export http_proxy="http://10.1:3128"
export https_proxy=$http_proxy
wget $@
unset http_proxy
unset https_proxy
}
catwhich() {
cat $(which $@)
}
runfor() {
while read line; do
$@ $line
done
}
#SSE
alias sse="ssh -X vage14@eeets1.et.tu-dresden.de"
export PATH=$PATH:~/.config/bin:~/.gem/ruby/2.1.0/bin
export EDITOR="vim"
export XDG_CONFIG_HOME="$HOME/.config"
# End of lines added by compinstall