lemoony / snipkit

Snippet CLI manager for quickly accessing shell snippets without leaving the terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command should be inlined so it can be confirmed and stored in histfile.

seivan opened this issue · comments

Going from snipkit exec to actually having the command executing has too many flows, and still doesn't put the command in the terminal input and history.

image
image

Isn't it better to change so so the command is inlined into the terminal window and just requires to user to press enter. That way it gets stored in history and the redundant confirmations are removed. Pressing enter is the confirmation.

Hi @seivan , I get your point - however, I think that this is a matter of preference.

I'm open to the idea of making that possible via a setting option. Maybe I have time to implement this during the upcoming holidays...

Just a quick update: We are going to introduce a new command for that - instead of exec something like inline