Skip to content

Commit

Permalink
Add z tool
Browse files Browse the repository at this point in the history
  • Loading branch information
r00k committed Oct 4, 2014
1 parent 4ffac64 commit 93031fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ alias retag='ctags -R --exclude=.svn --exclude=.git --exclude=log --exclude=tmp
alias retagwithcoffee='ctags -R --exclude=.svn --exclude=.git --exclude=log --exclude=tmp * && coffeetags -R -f >> tags'
alias repush="gpr && git push"
alias review="git diff master"
alias rc='rails console'
alias rc='bin/rails console'
alias remigrate='rake db:migrate && rake db:migrate:redo && rake db:schema:dump && rake db:test:prepare'
alias rdm="bin/rake db:migrate"
alias rdtp="bin/rake db:test:prepare"
Expand Down
2 changes: 1 addition & 1 deletion zsh/functions
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function git_branch_name {

function git-done {
branch=`git_branch_name`
killruby ; spring stop ; git checkout master && git merge $branch --ff-only && bundle install && rake db:migrate db:test:prepare && rake && git push && git branch -D $branch && git push origin :$branch
killruby ; spring stop ; git checkout master && git merge $branch --ff-only && bundle install && prepdb && bin/rspec && git push && git branch -D $branch && git push origin :$branch
}

function git-nuke {
Expand Down
1 change: 1 addition & 0 deletions zsh/z
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
. `brew --prefix`/etc/profile.d/z.sh
1 change: 1 addition & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ stty stop undef
source $HOME/.dotfiles/zsh/aliases
source $HOME/.dotfiles/zsh/functions
source $HOME/.dotfiles/zsh/prompt
source $HOME/.dotfiles/zsh/z

export PATH=$PATH:bin:~/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.rvm/bin

0 comments on commit 93031fc

Please sign in to comment.