Skip to content

Instantly share code, notes, and snippets.

@phil-monroe
Created December 17, 2020 19:48
Show Gist options
  • Save phil-monroe/96bfde675e50ca2dd7080348565b887d to your computer and use it in GitHub Desktop.
Save phil-monroe/96bfde675e50ca2dd7080348565b887d to your computer and use it in GitHub Desktop.
Repo specific pry history files
# add this to your project specific .gitignore
# Ignore pry console history for this project - https://gist.github.com/phil-monroe/96bfde675e50ca2dd7080348565b887d
.pry_history
# add this to your ~/.pryrc
if Pry.config.respond_to? :history_file=
Pry.config.history_file = ".pry_history"
else
Pry.config.history.file = ".pry_history"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment