.bash_profile
#!/bin/bash
source /opt/local/share/git/contrib/completion/git-completion.bash
source /opt/local/share/git/contrib/completion/git-prompt.sh
# Regular Colors
Black='\e[0;30m' # Black
Red='\e[0;31m' # Red
Green='\e[0;32m' # Green
Yellow='\e[0;33m' # Yellow
Blue='\e[0;34m' # Blue
Purple='\e[0;35m' # Purple
Cyan='\e[0;36m' # Cyan
White='\e[0;37m' # White
GIT_PS1_SHOWDIRTYSTATE=true
export LS_OPTIONS='--color=auto'
export CLICOLOR='Yes'
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD
export PS1=" ::retrostyle:: "'$(
if [[ $(__git_ps1) =~ \*\)$ ]]
# a file has been modified but not added
then echo "'$Yellow'"$(__git_ps1 " (%s)")
elif [[ $(__git_ps1) =~ \+\)$ ]]
# a file has been added, but not commited
then echo "'$Purple'"$(__git_ps1 " (%s)")
# the state is clean, changes are commited
else echo "'$Cyan'"$(__git_ps1 " (%s)")
fi)'$Blue" \w"$Green": "
######### ALIASSE
# Festplattenplatz, lesbar
alias df="df -h"
# Directoy-Listing, alle Dateien, formatiert, lesbare Dateigröße, Trailingslash
alias ll='ls -lah'
# Springt zum Schreibtisch
alias desk="cd ~/Desktop"
# Springt zum Dev ordner
alias dev="cd ~/Development"
# Ein Verzeichnis zurück
alias ..="cd .."
# Git Status
alias gg='git status'
#Zeige laufende Prozesse an. Wieviel, Sicher, Sortierung
alias top="top -ocpu -R -F -s 2 -n30"
# Verzeichnis erstellen und in Verzeichnis wechseln
mk () {
mkdir -p "$@" && eval cd "\"\$$#\"";
}