Add support for Fish shell

This commit is contained in:
kurtisc 2018-11-20 22:37:28 +00:00
parent ec87af6b69
commit 9ff07cf4ec

View file

@ -88,6 +88,9 @@ fun! s:RgGrepContext(search, txt)
if !has("win32")
let &shellpipe="&>"
endif
if ($shell == "/bin/fish")
let &shellpipe="&"
endif
if exists('g:rg_derive_root')
call s:RgPathContext(a:search, a:txt)