Created
October 13, 2018 03:54
-
-
Save mattswitch/079865f1f8ecdad5952d8ad8fd78c09e to your computer and use it in GitHub Desktop.
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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
# Set to this to use case-sensitive completion | |
# CASE_SENSITIVE="true" | |
# Comment this out to disable weekly auto-update checks | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment following line if you want to disable colors in ls | |
# DISABLE_LS_COLORS="true" | |
# Uncomment following line if you want to disable autosetting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
plugins=(git,ruby) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:~/bin:." | |
export EDITOR=vim | |
# Vi mode | |
set -o vi | |
# Aliases | |
alias la='ls -la' | |
alias mountvm='mount -t nfs -o proto=tcp,port=2049 switchrtc:/export/SwitchRTC /private/nfs && cd /private/nfs' | |
alias unmountvm='cd ~ && umount /private/nfs' | |
alias note="vi ~/Workshop/notes/$(date +%m_%d_%y)" | |
alias godp="cd ~/Workshop/android/dialpad" | |
alias resource="source ~/.zshrc" | |
alias run_systrace="~/Workshop/catapult/systrace/systrace/run_systrace.py" | |
alias switchrtc="ssh switchrtc@dialpad-build" | |
# dialpad directory | |
export DP=~/Workshop/android/dialpad | |
# UC directory | |
export UC=~/Workshop/android/uberconference | |
export IOS_REPO=~/Workshop/ios | |
# Project folder for SwitchRTC related things | |
export SRTC_PROJ_DIR=~/Workshop/srtc_workspace | |
export PROJECT_DIR=$SRTC_PROJ_DIR | |
# SwitchRTC for iOS build | |
export SWITCHRTC=$SRTC_PROJ_DIR/SwitchRTC | |
# WebRTC for iOS build | |
export WEBRTC_BASE=$SRTC_PROJ_DIR/webrtc | |
export WEBRTC=$WEBRTC_BASE/src | |
# PJSIP for iOS build | |
export PJSIP=$SRTC_PROJ_DIR/pjproject | |
# iOS SwitchRTC build directory | |
export IOS_SCRIPTS=$SWITCHRTC/ios/scripts | |
export SCRIPTS=$SWITCHRTC/android/scripts | |
# notes directory | |
export NOTE=~/Workshop/notes | |
# android sdk | |
export ANDROID_HOME=~/Library/Android/sdk | |
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | |
# android ndk | |
export ANDROID_NDK_ROOT=~/Workshop/android-ndk-r17c | |
export PATH=$PATH:$ANDROID_NDK_ROOT | |
# java commands | |
export PATH=$PATH:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands | |
export JAVA_HOME=$(java_home -v 1.8) | |
# arc command path. | |
export PATH=$PATH:/usr/local/share/arcanist/bin | |
# inkscape path | |
export PATH=$PATH:/usr/local/Cellar/inkscape/0.91_3/bin | |
# wireshark path | |
export PATH=$PATH:/usr/local/Cellar/wireshark/2.0.0/bin | |
# Chromium depot | |
export PATH=$PATH:/Users/MatthewOtt/Workshop/srtc_workspace/depot_tools | |
# Android NDK | |
export NDK=/Users/MatthewOtt/Library/Android/sdk/ndk-bundle | |
export GTEST_DIR=/Users/MatthewOtt/Workshop/googletest/googletest | |
export JNI=$SWITCHRTC/android/switchrtc/src/main/jni | |
export JSRTC=$SWITCHRTC/android/switchrtc/src/main/java/com/dialpad/switchrtc | |
LS_COLORS='di=5:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=0:ex=35:*.rpm=90' | |
export LS_COLORS | |
set -o vi | |
export EDITOR=vim | |
## | |
# Your previous /Users/MatthewOtt/.bash_profile file was backed up as /Users/MatthewOtt/.bash_profile.macports-saved_2016-08-26_at_14:58:11 | |
## | |
# MacPorts Installer addition on 2016-08-26_at_14:58:11: adding an appropriate PATH variable for use with MacPorts. | |
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
export NDK_TOOLCHAIN_VERSION=4.9 | |
export ANDROID_HVPROTO=ddm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment