configfiles/zshrc

40 lines
907 B
Bash
Raw Normal View History

2015-05-29 20:59:40 +02:00
# 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
autoload -Uz compinit
compinit
autoload -U colors && colors
2015-05-30 03:29:38 +02:00
PROMPT="%{$fg[red]%}> %{$reset_color%}"
RPROMPT="%{$fg[red]%}%~%{$reset_color%}"
2015-05-29 20:59:40 +02:00
alias ls="ls --color=auto"
alias cd..="cd .."
alias ..="cd .."
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"
2015-05-29 20:59:40 +02:00
catwhich() {
cat $(which $@)
}
runfor() {
while read line; do
$@ $line
done
}
export EDITOR="vim"
2015-05-30 03:29:38 +02:00
# Load any local only zshrc
[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local"
2015-05-29 20:59:40 +02:00
# End of lines added by compinstall