Last active
December 11, 2015 23:18
-
-
Save schwarzmx/4675842 to your computer and use it in GitHub Desktop.
Simple .bash_profile for MacOS
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
# customized prompt | |
export PS1="\[\e[1;30m\]\u\[\e[1;32m\]:\[\e[34m\]\W \[\e[1;31m\]\$ \[\e[0m\]" | |
# aliases | |
alias ll="ls -lhG" | |
alias la="ls -lahG" | |
alias tree="tree -hlC" | |
# bash completion stuff | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
# ant coloring: taken from http://martinadamek.com/2012/02/24/ant-with-colors-in-os-x-terminal/ | |
ant () { command ant -logger org.apache.tools.ant.listener.AnsiColorLogger "$@" | sed 's/2;//g' ; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment