Closed junegunn closed 2 months ago
Thanks for dedicating time to implementing it.
Was it a deliberate decision that you made while working on it to not also apply it to the become
action?
: | fzf --with-shell 'ruby -e' --bind 'enter:become:puts "Hello world"'
The example in the man page works well, but it may cause some issues for people with a defined FZF_DEFAULT_COMMAND
. Consider this alternative:
tail /usr/share/dict/words | fzf --with-shell 'ruby -e' --preview 'puts {}.upcase.reverse'
Was it a deliberate decision that you made while working on it to not also apply it to the
become
action?
No, it was an oversight.
The example in the man page works well, but it may cause some issues for people with a defined
FZF_DEFAULT_COMMAND
.
Good point, thanks!
@rashil2000 Hi, can you take a look at this patch when you have some time? I could use some help on the Windows part, and you're the one who last changed the relevant code in #2647.
@rashil2000 Hi, can you take a look at this patch when you have some time? I could use some help on the Windows part, and you're the one who last changed the relevant code in #2647.
Sure, I'm currently travelling, will have a look in a few days
So I did some preliminary testing of this on a Windows VM against cmd
and powershell
, and at least it doesn't seem to break the existing workflow.
cmd.exe
execution is broken, restoring CmdLine
parameter.
Close #3732
This hasn't been tested on Windows.