top | item 27406741

Show HN: Automatically save scripts from your shell history

17 points| asidiali | 4 years ago |github.com

2 comments

order

akkartik|4 years ago

Nice. Though it might be nicer to take a pattern like "Start" rather than the count.

asidiali|4 years ago

Thanks for the feedback there, and for checking it out. I’m still working on an ideal process for optimizing identification of the lines you want to use. The issue with both the count and the start is that you have to have some awareness of those indexes. I’m working on a more visual way to pick and choose commands (think git squash commit picking).

Unless you mean start as in, type a command to begin “recording” and then type an end command when you’re done? Interesting idea