unixorn / fzf-zsh-plugin

ZSH plugin to enable fzf searches of a lot more stuff - docker, tmux, homebrew and more.
Apache License 2.0
303 stars 27 forks source link

directly run the command instead of just pasting it in the buffer. #71

Closed alkeryn closed 1 year ago

alkeryn commented 1 year ago

hey is it possible to paste the command and run it directly instead of having to type 2 times enter ? thanks ! :)

unixorn commented 1 year ago

I prefer leaving it so that the user can pull up a previous command and edit it first before running it.

I'm not opposed to adding a setting env variable to enable behavior if you want to PR it in. Maybe FZF_HISTORY_INSTANT_RUN or something similar.