Skip to content

Instantly share code, notes, and snippets.

@he9lin
Created December 12, 2009 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save he9lin/254651 to your computer and use it in GitHub Desktop.
Save he9lin/254651 to your computer and use it in GitHub Desktop.
puts Readline:HISTORY.entries.split("exit").last[0..-2].join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment