stinkpot: sqlite-backed shell history
I wonder how easy it would be to delete commands from one's history? Would it be diving into some sql to delete a row from the sqlite db? Odd as it might seem there are rare times, when I need to delete lines of commands from my shell history...The legacy approach lets me manually go into my bash history and manually delete the offending line...I know, i know, that's silly...but it is indeed a use-case for me.
- ▪I wonder how easy it would be to delete commands from one's history?
- ▪Would it be diving into some sql to delete a row from the sqlite db?
- ▪Odd as it might seem there are rare times, when I need to delete lines of commands from my shell history...The legacy approach lets me manually go into my bash history and manually delete the offending line...I know, i know, that's silly...
Comments - RSS 2.0 files mainly under programming. We currently carry 20 of its stories.
Opening excerpt (first ~120 words) tap to expand
I wonder how easy it would be to delete commands from one's history? Would it be diving into some sql to delete a row from the sqlite db? Odd as it might seem there are rare times, when I need to delete lines of commands from my shell history...The legacy approach lets me manually go into my bash history and manually delete the offending line...I know, i know, that's silly...but it is indeed a use-case for me. Has anyone who uses stinkpot know if there is a command do remove lines without divjng into sqlite DB manually? EDIT: Sorry, i failed to state, that regardless of my odd use-case, the project seems really quite interesting! Thanks for making this and for sharing!
Excerpt limited to ~120 words for fair-use compliance. The full article is at Lobsters.