This website requires JavaScript.
Explore
Help
Sign in
configs
/
scatterd-dotfiles
Watch
1
Star
0
Fork
You've already forked scatterd-dotfiles
0
Code
Issues
2
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
dd75d58dbf
scatterd-dotfiles
/
zsh
/
functions
/
rspec
8 lines
96 B
Text
Raw
Normal View
History
Unescape
Escape
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 11:16:39 -05:00
rspec() {
if [ -S .zeus.sock ]; then
zeus rspec "$@"
else
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:48:11 -05:00
command rspec "$@"
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 11:16:39 -05:00
fi
}
Reference in a new issue
Copy permalink