From 34a1b21b3ecd0b69d9ad98a0d9504cbd7ec9e1d3 Mon Sep 17 00:00:00 2001 From: Tyler Mandry Date: Mon, 1 Apr 2019 18:31:04 -0700 Subject: [PATCH] Don't depend on bash extension This adds support for other shells including sh and fish. --- plugin/vim-ripgrep.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vim-ripgrep.vim b/plugin/vim-ripgrep.vim index 9bc029d..955baaf 100644 --- a/plugin/vim-ripgrep.vim +++ b/plugin/vim-ripgrep.vim @@ -86,7 +86,7 @@ fun! s:RgGrepContext(search, txt) set t_te= set t_ti= if !has("win32") - let &shellpipe="&>" + let &shellpipe="2>&1 | cat >" endif if exists('g:rg_derive_root')