cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.76k stars 176 forks source link

FR: Option to disable confirmation before deleting command #318

Closed pickx closed 1 year ago

pickx commented 1 year ago

Either with a setting that simply skips the confirmation, or with a different key binding that deletes without confirmation.

Thanks, and thanks for maintaining this useful software.

cantino commented 1 year ago

There's already a command line option delete_without_confirm, so it'd just need to also have a ENV variable like MCFLY_DELETE_WITHOUT_CONFIRM or something that you could set. I'd be open to receiving a PR for this improvement.

cantino commented 1 year ago

Wait, that already exists! Use MCFLY_DELETE_WITHOUT_CONFIRM.

pickx commented 1 year ago

woah, thanks. (should have looked at the code a little better before asking)

kind of funny that you suggested the exact same name, though.