scatterd-dotfiles/zsh/functions/rspec
Joe Ferris 81d40fe855 Pass arguments from rspec shell function when not using zeus
* Non-zeus path didn't pass arguments, so it just ran `rspec`
2013-01-21 10:49:12 -05:00

7 lines
96 B
Text

rspec() {
if [ -S .zeus.sock ]; then
zeus rspec "$@"
else
command rspec "$@"
fi
}