Permalink
Browse files

Finally figured out how to make Sorin OMZ work

  • Loading branch information...
forest committed Aug 2, 2012
1 parent c3ca34d commit 3663099d8b9a9e1c31e5970ae33691b18f25c26a
Showing with 20 additions and 9 deletions.
  1. +7 −2 yadr/custom/zsh/after/aliases.zsh
  2. +13 −7 yadr/custom/zsh/before/base.zsh
@@ -1,6 +1,7 @@
# overrides
alias ash='cat $yadr/zsh/aliases.zsh' #alias show
alias ae='vi $yadr/custom/zsh/after/aliases.zsh' #alias edit
alias ashc='cat $yadr/custom/zsh/after/aliases.zsh' #alias sho custom
alias ae='vim $yadr/custom/zsh/after/aliases.zsh' #alias edit
alias ar='source $yadr/custom/zsh/after/aliases.zsh' #alias reload
# ls
@@ -17,6 +18,7 @@ alias hosts='sudo vim /private/etc/hosts'
alias g='git'
alias gs='git status -sb'
alias gcd='git checkout development'
alias gcm='git checkout master'
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
alias gch='git cherry -v origin/master'
# function gbn {
@@ -75,7 +77,6 @@ alias %=' '
alias e='subl -n .'
# mvim
#alias v='mvim'
alias vim='mvim'
# cheat
@@ -102,6 +103,10 @@ alias pssp='RAILS_ENV=production passenger start'
alias pgstart='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias pgstop='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
# mysql
alias mysstart='mysql.server start'
alias mysstop='mysql.server stop'
# foreman
alias fs='foreman start'
alias fsw='foreman start web'
@@ -1,16 +1,22 @@
# ignore plugins defined by YADR and use your own list. Notice there is no
# $plugins at the end.
plugins=(vi-mode ruby osx rails3 git brew cap gem git github heroku redis-cli rvm bundler fasd history-substring-search)
# plugins=(vi-mode ruby osx rails3 git brew cap gem git github heroku redis-cli rvm bundler fasd history-substring-search)
# plugins=(vi-mode rvm ruby bundler git osx rails terminal completion history utility syntax-highlighting history-substring-search prompt)
# Set the Oh My Zsh modules to load (browse modules).
# zstyle ':omz:load' omodule 'environment' 'terminal' 'editor' 'completion' \
# 'vi-mode' 'rvm' 'ruby' 'bundler' 'git' 'osx' 'rails' \
# 'history' 'directory' 'spectrum' 'utility' \
# 'syntax-highlighting' 'prompt' 'history-substring-search'
zstyle ':omz:load' omodule 'environment' 'terminal' 'editor' 'completion' \
'ruby' 'git' 'osx' 'rails' \
'history' 'directory' 'spectrum' 'utility' \
'syntax-highlighting' 'prompt' 'history-substring-search'
# set your theme.
export ZSH_THEME="steeef"
# zstyle ':omz:module:prompt' theme 'steeef'
zstyle ':omz:module:prompt' theme 'steeef'
# kennethreitz
# steeef
# Need to force init of sorin OMZ becasue the plugins hook only works for
# robbyrussel OMZ. LAME yadr!
# Set the path to Oh My Zsh.
export OMZ="$HOME/.oh-my-zsh"
# This will make you shout: OH MY ZSHELL!
source "$OMZ/init.zsh"

0 comments on commit 3663099

Please sign in to comment.