thoughtbot / vim-rspec

Run Rspec specs from Vim
https://robots.thoughtbot.com
MIT License
656 stars 108 forks source link

Add support for fish (shell) 🐠 #126

Open common-nighthawk opened 7 years ago

common-nighthawk commented 7 years ago

I'd like to add support for the fish shell.

Because this plugin runs system commands, many of the calls need to be mapped. (This is already done for the clear command, for example.)

Fish (notoriously) does not support && in system calls. The prefered method is COMMAND; and COMMAND2

if &shell[-4:] == "fish" is not incredibly elegant, but it's not terrible? If you are able to review, would love to hear your thoughts.