scatterd-dotfiles/zsh/functions/rspec
Joe Ferris 6603b694b0 Replace s shell script with rspec shell function and alias
* Use a regular alias to make `s` short for `rspec`
* Use an `rspec` shell function to route to zeus when appropriate
* Removes confusion from `s` working differently than `rspec`
* Removes need to use a special alias to get zeus working
2013-01-18 13:24:53 -05:00

7 lines
91 B
Text

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