Cygwin - junegunn/fzf GitHub Wiki
On Cygwin or MSYS2 (as used by Git Bash), the install script will download the
prebuilt fzf binary for the Windows platform.
On mintty (the default terminal emulator shipped with Cygwin) running 3.4.5 or later, fzf works out of the box in most cases. However, in some setups (for example when fzf is wrapped or embedded in another program, see https://github.com/junegunn/fzf/issues/4837) you need to set:
export MSYS=enable_pcon
If you see an error like ... fzf.exe: command not found, set this variable.
For fzf < 0.53, also add --no-height to fzf, and:
- set
MSYSto includeenable_pconon mintty 3.4.5 or later - call
fzfwithwinptyas suggested here if available, on mintty older than 3.4.5
If winpty is not available and mintty is older than 3.4.5, :FZF in Vim will
start an extra cmd.exe window to circumvent the limitation. See
https://github.com/junegunn/fzf/issues/3809 for further details.
fzf works fine on ConEmu, the default Command Prompt
(cmd.exe), Clink, and in
Powershell.