deivid-rodriguez / byebug

Debugging in Ruby 2
BSD 2-Clause "Simplified" License
3.34k stars 328 forks source link

Set default history file to ~/.byebug_history #694

Closed sergioro9 closed 4 years ago

sergioro9 commented 4 years ago

Put history file in home directory. Instead of creating many local ./.byebug_history files, a central ~/.byebug_history file allows to retreive the history independently from the current directory.

deivid-rodriguez commented 4 years ago

I'm not too sure about this, what are the advantages? A per project history file allows for a more meaningful history of commands in my opinion.

sergioro9 commented 4 years ago

I find it useful to reuse byebug commands from any directory, but this is opinion based so better to close this pull request. Thanks.