Last active
December 16, 2015 14:59
-
-
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.
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
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