atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Add a key binding or configuration to run selected command immediately

Open cheuk-cheng opened this issue 1 year ago • 1 comments

I am new to atuin but I had used resh and mcfly before. Is there a way in autin to run a command in history immediately without pressing key? Thanks.

cheuk-cheng avatar Apr 22 '23 17:04 cheuk-cheng

Hi, this is basically a duplicate of #78 and I just started looking into this matter with draft PR #907 :grinning:

But I shall have a look at the mcfly, how they handle execution, as this is the part where I am currently a bit struggling in my PR, thanks for mentioning this.

Edit: thanks for the hint with mcfly, a comment in their code made me look in crates.io and I found a crate that eases things a lot.

VuiMuich avatar Apr 22 '23 20:04 VuiMuich

Closing as a dupe, thanks @VuiMuich

ellie avatar Apr 28 '23 23:04 ellie

Closing as a dupe, thanks @VuiMuich

You are very welcome!

VuiMuich avatar Apr 29 '23 11:04 VuiMuich