mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
commit bash-20111118 snapshot
This commit is contained in:
+12
-6
@@ -5306,13 +5306,16 @@ The name of the file to which the command history is saved. The
|
||||
default value is @file{~/.bash_history}.
|
||||
|
||||
@item HISTFILESIZE
|
||||
The maximum number of lines contained in the history file. When this
|
||||
variable is assigned a value, the history file is truncated, if
|
||||
necessary, by removing the oldest entries,
|
||||
to contain no more than that number of lines.
|
||||
The maximum number of lines contained in the history file.
|
||||
When this variable is assigned a value, the history file is truncated,
|
||||
if necessary, to contain no more than that number of lines
|
||||
by removing the oldest entries.
|
||||
The history file is also truncated to this size after
|
||||
writing it when an interactive shell exits.
|
||||
The default value is 500.
|
||||
If the value is 0, the history file is truncated to zero size.
|
||||
Numeric values less than zero inhibit truncation.
|
||||
The shell sets the default value to the value of @env{HISTSIZE}
|
||||
after reading any startup files.
|
||||
|
||||
@item HISTIGNORE
|
||||
A colon-separated list of patterns used to decide which command
|
||||
@@ -5336,7 +5339,10 @@ provides the functionality of @code{ignoreboth}.
|
||||
|
||||
@item HISTSIZE
|
||||
The maximum number of commands to remember on the history list.
|
||||
The default value is 500.
|
||||
If the value is 0, commands are not saved in the history list.
|
||||
Numeric values less than zero result in every command being saved
|
||||
on the history list (there is no limit).
|
||||
The shell sets the default value to 500 after reading any startup files.
|
||||
|
||||
@item HISTTIMEFORMAT
|
||||
If this variable is set and not null, its value is used as a format string
|
||||
|
||||
Reference in New Issue
Block a user