dotfiles / zshrc.sh

# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh

# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="wezm"
export DISABLE_AUTO_UPDATE=true

# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"

# Comment this out to disable weekly auto-update checks
export DISABLE_AUTO_UPDATE=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=(osx rails3 ruby git django screen vi-mode radiantcms)

export PATH=/opt/local/bin:/sbin:/usr/sbin:$HOME/bin/:$PATH
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/Current/bin
export PATH=$HOME/local/node/bin:$PATH


source $ZSH/oh-my-zsh.sh

source $HOME/.zsh_completions/git.zsh

# Customize to your needs...
#
#

export PATH=/usr/local/bin:/opt/local/bin:/sbin:/usr/sbin:$HOME/bin/:$HOME/local/node/bin:$PATH
export PATH=$PATH:/Library/Frameworks/Python.framework/Versions/Current/bin
export PATH=/usr/local/mysql/bin:$PATH

export TEXINPUTS=$HOME/Development/SubversionBased/latex/Styles/:
export CDPATH=.:$HOME/Development/Current

unsetopt auto_name_dirs

# import RVM...
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

# Now on with the show...
setopt DVORAK
setopt VI

bindkey '^R' history-incremental-search-backward

# additional env variables
#

source ~/.aliases

# RVM stuff

[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm

unsetopt auto_name_dirs


function rpw_rvm_info() {
    rvm info | ruby -e "require 'yaml'; puts YAML::load(STDIN).keys"
}

function MOREINFO() {
    # extra info I don't have on my prompt any more
        echo "You are on `cat ~/.hostshorTname`"
    echo "  Time is: `date`"
    echo "  Git branch: `git symbolic-ref HEAD 2> /dev/null`"
    echo -n "  RVM environment: is: "
    rpw_rvm_info
}

#export LC_ALL=en_US.UTF-8
export EDITOR=~/bin/bb
export GEM_EDITOR=vim
#export EDITOR='mate -w'
#export GEM_OPEN_EDITOR=mate


#here comes a tricky part. We want to read something that's machine specific
#(the short name of the machine - needed so I can tell what machine I'm on)
#however we don't want that file under CVS control (either conflict hell, or well, no version control)
#we put that variable into the .hostshortname file then
#added WD-rpw 11-20-03

{
	read SHORTHOSTNAME
} < $HOME/.hostshortname


#source /usr/local/bin/virtualenvwrapper.sh
source $HOME/bin/resty

export WORKON_HOME=/Users/aias/.virtualenvs
export WORKON_HOME=/Users/aias/.virtualenvs

# install django_env into the shell
#source /Users/aias/.django_env

# Now, use screeninator....
if [[ -s $HOME/.screeninator/scripts/screeninator ]] ; then source $HOME/.screeninator/scripts/screeninator ; fi

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.