
alias brc='source ~/.bashrc'

# LISTING
alias ll='ls -la --color=auto'
alias lr='ls -R | grep ":$" | sed -e '\''s/:$//'\'' -e '\''s/[^-][^\/]*\//--/g'\'' -e '\''s/^/   /'\'' -e '\''s/-/|/'\'''

# CHANGE DIR
alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
function mcd() {
  mkdir -p "$1" && cd "$1";
}

# GREP 
alias tm='ps -ef | grep'

# GIT
alias gl="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias gs="git status"
gwd(){
    default="1 day ago"
    git log --committer=me@prellele.de --pretty=format:"%Cgreen%ar (%h)%n%Creset> %s %b%n" --since="${1:-$default}" --no-merges
}


