configfiles/zshrc

58 lines
1.3 KiB
Bash

# 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"
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 $@)
}
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