* 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
7 lines
91 B
Text
7 lines
91 B
Text
rspec() {
|
|
if [ -S .zeus.sock ]; then
|
|
zeus rspec "$@"
|
|
else
|
|
command rspec
|
|
fi
|
|
}
|