zshrc loads local config

This commit is contained in:
madmaurice 2015-05-30 03:29:38 +02:00
parent 0feba4c979
commit 4e456df1f7

27
zshrc
View file

@ -5,37 +5,22 @@ bindkey -e
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%}"
PROMPT="%{$fg[red]%}> %{$reset_color%}"
RPROMPT="%{$fg[red]%}%~%{$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"
alias gitlog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
zwget() {
export http_proxy="http://10.1:3128"
export https_proxy=$http_proxy
wget $@
unset http_proxy
unset https_proxy
}
catwhich() {
cat $(which $@)
}
@ -46,13 +31,9 @@ runfor() {
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"
# Load any local only zshrc
[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local"
# End of lines added by compinstall