fzf
fzf copied to clipboard
Reincorporate user settings (FZF_ALT_C_COMMAND, etc.) in shell-integration behavior
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.
winpty doesn't pass down the exported variables? Is it a known limitation of winpty?
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.