Skip to content

Instantly share code, notes, and snippets.

@szimmers
Created October 22, 2013 14:38
Show Gist options
  • Save szimmers/7101843 to your computer and use it in GitHub Desktop.
Save szimmers/7101843 to your computer and use it in GitHub Desktop.
example osx bash setup, including PATH for android development and my aliases
if [ -e /etc/bashrc ] ; then
source /etc/bashrc
fi
if [ -e "${HOME}/.bashrc" ] ; then
source "${HOME}/.bashrc"
fi
alias a=alias
alias ab='cd -'
alias c=clear
alias d=date
alias get=git
alias h=history
alias j=jobs
alias k='cd ..'
alias kk='cd ../..'
alias ls='ls -F'
alias la='ls -a'
alias l='ls -ls'
alias ll='ls -lsa'
alias 5='PS1="% "'
alias 6='PS1="^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "'
alias 7='PS1="[\W \! ] > "'
alias 8='PS1="[\w \! ] > "'
alias more=less
alias m=less
alias branch='git branch | grep "*"'
alias tag='git name-rev --name-only --tags HEAD'
AIR_PATH=/Users/szimmers/Documents/AdobeAIRSDK/bin
ADT_TOOLS_PATH=/Applications/ADT/adt-bundle-mac-x86_64-20130917/sdk/tools
ADT_PLATFORM_PATH=/Applications/ADT/adt-bundle-mac-x86_64-20130917/sdk/platform-tools
export PATH=$PATH:$ADT_TOOLS_PATH:$ADT_PLATFORM_PATH
7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment