Skip to content

Instantly share code, notes, and snippets.

@ericduran
Last active December 14, 2015 09:59
Show Gist options
  • Save ericduran/5069301 to your computer and use it in GitHub Desktop.
Save ericduran/5069301 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
ZSH_THEME="ericduran"
# Example aliases
alias ohmyzsh="subl ~/.oh-my-zsh"
alias finder-hidden-hide="defaults write com.apple.finder AppleShowAllFiles FALSE && killall Finder"
alias finder-hidden-show="defaults write com.apple.finder AppleShowAllFiles TRUE && killall Finder"
alias drupalcs="phpcs --standard=Drupal --extensions=module,inc,install,test,profile,theme"
# Set to this to use case-sensitive completion
CASE_SENSITIVE="true"
#COMPLETION_WAITING_DOTS="true"
plugins=(git github)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
alias ll="ls -la"
alias n="cd ~/Sites/nbcu/core.publisher.com/docroot"
alias h="cd ~/Sites/heroku"
#alias g="cd ~/Sites/github"
alias copy="pbcopy"
alias cb="pbcopy"
alias tunnel="ssh utils -R \*:8080:localhost:80 -g -N -n &"
alias tunnel-kill="pkill ssh"
alias mongod.start="launchctl start homebrew.mxcl.mongodb"
alias mongod.stop="launchctl stop homebrew.mxcl.mongodb"
#Dev Tools Development
alias start-devtools="cd ~/Workspace/chromium/blink/Source/devtools && python -m SimpleHTTPServer"
alias start-devtools-canary="/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222 --no-first-run --remote-debugging-frontend='http://localhost:8000/front_end/inspector.html' --user-data-dir=Workspace/chromium/chromeServerProfile"
#exports
export GEM_HOME="/Users/ericduran/.gem"
export EDITOR="vi"
# Extra directories in path.
pathdirs=(
/usr/local/opt/ruby/bin
$(brew --prefix php54)/bin #php bin
~/androidsdk/platform-tools
/usr/local/share/npm/bin #node npm
~/Workspace/chromium/depot_tools
"/Applications/Android Studio.app/sdk/platform-tools"
~/go/bin
)
for dir in $pathdirs; do
if [ -d $dir ]; then
path+=$dir
fi
done
# Make sure /usr/local/bin is always first.
PATH="/usr/local/bin:$PATH"
export GOPATH=$HOME/go
RPROMPT='[%* on %D]' # prompt for right side of screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment