The original goal of this gist was to provide the same behavior to the "history" command in bash which tells you all of the commands you have written in your bash session, but tells the history of commands you added when using the elixir repl iex
. The expected result is to print out all commands and their associated line numbers.
tldr: The instinct is to jump right in and solve the problem. But this document is an effort to create a framework of thinking on how to approach the problem and deal with all failure scenerios until it is proven truly impossible. Hopefully when a similar situation pops up I can utilize the same framework and skip or speed up this step of generating strategies to solve the problem.
Operation "track operating system changes" when in an elixir process.
With this information, I can achieve my original goal of finding where the operating system stores the up arrow history text when in an iex terminal session.
How my brain is tryi