From 4e456df1f7489769f0cd4eb0b0f37bdd35eaefca Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sat, 30 May 2015 03:29:38 +0200 Subject: [PATCH] zshrc loads local config --- zshrc | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/zshrc b/zshrc index a1e5c2f..aea49ee 100644 --- a/zshrc +++ b/zshrc @@ -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