Created
June 11, 2013 10:27
-
-
Save lukearmstrong/5755898 to your computer and use it in GitHub Desktop.
Mac OSX Terminal
This file contains hidden or 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
# auto completion | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
# coloured terminal | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
# list all files | |
alias ll='ls -ahl' | |
# go to root of current hg repo | |
alias hgr='cd $(hg root)' | |
# go to root of current git repo | |
alias gitr='cd $(git rev-parse --show-toplevel)' | |
# better than grep | |
alias ack='ack --pager="less -R"' | |
# Laravel 4: artisan | |
alias artisan='./artisan' | |
# Default Prompt | |
#export PS1="\h:\W \u\$" | |
# Custom Prompt | |
export PS1="\[\033[0;32m\]\w $ \[\033[0m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment