Created
April 26, 2012 16:07
-
-
Save JulienBreux/2500620 to your computer and use it in GitHub Desktop.
Mac Profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Alias | |
alias apache='sudo /opt/local/apache2/bin/apachectl' | |
alias mysqlstart='sudo /opt/local/bin/mysqld_safe5 &' | |
alias mysqlstop='sudo /opt/local/bin/mysqladmin5 -u root -p shutdown' | |
alias ls='ls -G' | |
alias ll='ls -hl' | |
# Sources | |
# Use (http://www.git-attitude.fr/2010/07/14/le-prompt-bash-qui-change-la-vie-avec-git/) | |
source "$HOME/.git-completion.bash" && | |
# Exports | |
export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 && | |
export PS1='\[\033[01;32m\]\u\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]$(__git_ps1 " (\[\e[0;31m\]%s\[\e[m\])")\$ ' | |
export LS_OPTIONS='--color=auto' | |
# MacPorts | |
export PATH=/opt/local/bin:/opt/local/sbin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment