Skip to content

Instantly share code, notes, and snippets.

@rdebeasi
Last active December 16, 2015 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdebeasi/5452600 to your computer and use it in GitHub Desktop.
Save rdebeasi/5452600 to your computer and use it in GitHub Desktop.
Bash profile with git sync command (see https://gist.github.com/rdebeasi/5155522) and virtual host setup command. Uses MAMP and Sublime Text.
export PATH=/opt/subversion/bin:~/bin:/opt/local/bin:/opt/local/sbin:~/Documents/util/scripts:$PATH
# Pyhton virtualenv
export WORKON_HOME=~/Envs
source /usr/local/bin/virtualenvwrapper.sh
# Use Sublime Text as editor
export EDITOR='subl -w'
# Commands
alias gs='gsync.sh'
alias vhost='subl /etc/hosts /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf'
# Run iOS simulator
alias ios='open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'
# Run Android Emulator in the background. I'm calling this nexus instead of android because the SDK already has a command called android.
alias nexus='/Applications/Android\ Studio.app/sdk/tools/emulator -avd Nexus7 &'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment