From afea0e9e43bfcafeac7315f13709b821dfa60a42 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Fri, 29 May 2015 20:59:40 +0200 Subject: [PATCH] zshrc added --- zshrc | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 zshrc diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..2427fa8 --- /dev/null +++ b/zshrc @@ -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