meaningful-ooo / sponge

🧽 Clean fish history from typos automatically
MIT License
270 stars 2 forks source link

Trigger only on shell exit #1

Closed jdahm closed 1 year ago

jdahm commented 1 year ago

This may not be possible, but is there a way to trigger sponging for the commands run only after the shell is exited? I really like this feature, but I find myself scrolling back for commands that failed as I'm developing scripts, etc. Thanks for the great work!

andreiborisov commented 1 year ago

Brilliant suggestion, thank you!

It's possible, I'll add this in the next release👌🏻

andreiborisov commented 1 year ago

HAW-10 Option to delete only on exit

andreiborisov commented 1 year ago

Done: https://github.com/meaningful-ooo/sponge#-purge-only-on-exit

@jdahm please, let me know if you'll have any issues!