Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fish pipe compatibility issues #41

Open
miki725 opened this issue May 31, 2019 · 1 comment · May be fixed by #42
Open

Fish pipe compatibility issues #41

miki725 opened this issue May 31, 2019 · 1 comment · May be fixed by #42

Comments

@miki725
Copy link

miki725 commented May 31, 2019

Current shellpipe="&>" is incompatible with fish which results in error something like:

fish: Expected a command, but instead found a redirection
rg --vimgrep -i foo &> /var/folders/4z/bxmdspnn5qs9x0bbz8w7cbrw0000gn/T/nvimzCL1HW/4

fish is enabled via in ~/.config/nvim/init.vim:

set shell=fish

let &shellpipe="&>"

@miki725 miki725 linked a pull request May 31, 2019 that will close this issue
@ColinKennedy
Copy link

Also noting here that, with a tcsh shell, the default shellpipe is |& tee. Since vim-ripgrep tries to set let &shellpipe="&>", it causes the search to fail. Removing the let &shellpipe="&>" completely worked for me to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants