Skip to content

Instantly share code, notes, and snippets.

@neodevelop
Last active October 17, 2017 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save neodevelop/3791947 to your computer and use it in GitHub Desktop.
Save neodevelop/3791947 to your computer and use it in GitHub Desktop.
My oh-my-zsh
# 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"
ZSH_THEME="jj-juicy"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias ebc='ssh 192.1.2.28 -l root'
alias makingdevs='ssh root@makingdevs.com'
# 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"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git github gradle grails lein mvn osx ruby rvm ssh-agent sublime textmate nyan git-extras)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
#export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
export EDITOR='vim'
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home
#export GROOVY_HOME=/usr/share/groovy
#export GRAILS_HOME=/usr/share/grails-2.1.0
#export GRIFFON_HOME=/usr/share/griffon
export GLASSFISH_HOME=/usr/share/glassfish
#export GLASSFISH3_HOME=/usr/share/glassfishv3
#export GRADLE_HOME=/usr/share/gradle
export ANDROID_HOME=/usr/share/android
export SCALA_HOME=/usr/share/scala
export HOMEBREW=/usr/local/sbin
export M2_HOME=/usr/share/maven2
export LLDB=/Developer/usr/bin
#export VERTX_HOME=/usr/share/vert.x-1.3.0.final
#export RUBY_HOME=/usr/local/Cellar/ruby/1.9.3-p194/bin
export NODE_PATH=/usr/local/lib/node_modules
export PYTHON3_HOME=/usr/local/share/python3
#export PATH=/usr/local/bin:/usr/local/sbin:$PATH:$GROOVY_HOME/bin:$GLASSFISH_HOME/bin:$GRIFFON_HOME/bin:$GRADLE_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$SCALA_HOME/bin:$HOMEBREW:$M2_HOME/bin:/usr/share/grails.sh:$LLDB:$VERTX_HOME/bin:$RUBY_HOME:$PYTHON_HOME
export PATH=/usr/local/bin:/usr/local/sbin:$PATH:$GLASSFISH_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$SCALA_HOME/bin:$HOMEBREW:$M2_HOME/bin:$LLDB:$VERTX_HOME/bin:$PYTHON_HOME
#if [[ "$TERM" != "screen-256color" ]]
#then
# tmux attach-session -t "$USER" || tmux new-session -s "$USER"
# exit
#fi
#TMUXINATOR
[[ -s "$HOME/.tmuxinator/scripts/tmuxinator" ]] && source "$HOME/.tmuxinator/scripts/tmuxinator"
#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
[[ -s "/Users/neodevelop/.gvm/bin/gvm-init.sh" ]] && source "/Users/neodevelop/.gvm/bin/gvm-init.sh"
# PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
# -s "$HOME/.rvm/scripts/rvm" && source "$HOME/.rvm/scripts/rvm"
source ~/.rvm/scripts/rvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment