Good question.  I dug around, and it turns out that you can get the history 
as an array of strings via

Base.active_repl.interface.modes[1].hist.history


but it would be nice to have a documented way to get at this kind of 
information.  A pull request with some feature along these lines would be 
welcome.

Note that if you find yourself wanting to save a log of your session, I 
would highly recommend using an IJulia notebook instead.  That saves the 
commands and the output (including plots), and allows you to add formatted 
annotations.

Steven

Reply via email to