fzf icon indicating copy to clipboard operation
fzf copied to clipboard

Reincorporate user settings (FZF_ALT_C_COMMAND, etc.) in shell-integration behavior

Open clarity20 opened this issue 7 months ago • 1 comments

The fzf keyboard shortcuts (ALT-C, etc.) were not using my FZF_* environment settings until I made the following code change. This change ensures that once the env is parsed, the arguments specified in the env variables are forwarded to the winpty child process along with the commandline arguments.

clarity20 avatar May 24 '25 19:05 clarity20

winpty doesn't pass down the exported variables? Is it a known limitation of winpty?

junegunn avatar May 27 '25 23:05 junegunn

I believe this was a bug introduced by https://github.com/junegunn/fzf/commit/aefb9a5bc41f92227e4bffa050caca0270b450ba, and 0a8ff7899c7d09457d3896fcce2d4dcffcc13e17 should fix it.

Please test it and let me know if it works for you.

junegunn avatar Aug 22 '25 10:08 junegunn