Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Expanded comment on dedup_bash_history.rb

  • Loading branch information...
commit cb51d49e9848d2df1f0566eb08e5bcdd4d04e1b5 1 parent 4c1f584
@lojic authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 dedup_bash_history.rb
View
4 dedup_bash_history.rb
@@ -35,7 +35,9 @@ module DeDuper
# Occasionally, the .bash_history file can be truncated to the
# default size of 500 lines. If this occurs, I don't want to do
- # anything until the file has been repaired.
+ # anything until the file has been repaired. The MIN_HIST_LINES
+ # value should be set to a value for which the number of lines in
+ # the history file will never fall below.
MIN_HIST_LINES = 4000
NUM_BACKUP_FILES = 20
TEMP_FILE = File.expand_path('~/.bash_history_temp')
Please sign in to comment.
Something went wrong with that request. Please try again.