fzf icon indicating copy to clipboard operation
fzf copied to clipboard

Rg preview pane shows error in preview.sh in Windows 11 and Powershell

Open mindentropy opened this issue 1 year ago • 1 comments

  • [x] I have read through the manual page (man fzf)
  • [x] I have the latest version of fzf
  • [x] I have searched through the existing issues

Info

  • OS
    • [ ] Linux
    • [ ] Mac OS X
    • [x] Windows
    • [ ] Etc.
  • Shell
    • [ ] bash
    • [ ] zsh
    • [ ] fish
    • [x] PowerShell

Problem / Steps to reproduce

  1. Open Rg in Gvim
  2. Search for a word
  3. Preview pane shows /bin/bash: line1: C:/Users/mindentropy/vimfiles/plugged/fzf.vim/bin/preview.sh

I check preview.sh and it has #!/usr/bin/env bash but I am not sure whether it is picking up bash. Is Rg supported on Windows 11?

mindentropy avatar Jan 10 '24 07:01 mindentropy