Sometimes I'd like to get some command from
history output, copy it to a bash prompt, make some changes and run it. Is there a way to copy a command from
history output to a bash prompt without involving the mouse? For example, it would be some script that I can bind a shortcut to.
Maybe I do not understand
fc enough, but it looks like I cannot select folders or files via
fc (like Tab for usual command prompt)