Skip to main content

HISTORY_LIMIT

Constant HISTORY_LIMIT 

Source
pub const HISTORY_LIMIT: usize = 1000;
Expand description

The maximum number of history entries any shell retains.

One limit for every shell: Bash and Zsh share the execution core’s list, while PowerShell and cmd each keep their own. The cap is a single fact.