Bash $HISTFILESIZE seems far too small by default.
Bug #544542 reported by
Jim Howell
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Debian) |
Fix Released
|
Unknown
|
|||
bash (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: bash
I would simply like to suggest a much larger history length by default. 500 commands is quite small and I know of no technical reason a much larger number would be unreasonable.
I like to use 10000 myself. It can be VERY useful to recover a complicated command from months in the past.
Thanks.
Changed in bash (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Changed in bash (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in bash (Debian): | |
status: | Unknown → New |
Changed in bash (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Jim,
Thanks for your bug report :) I tend to agree with you.
It looks like the proper place to set this would be in /etc/skel/.bashrc which is part of the bash package.
I'm attaching a patch to set the history to 2500 which seems like it should be large enough for the vast majority of users.
I also updated the comment.