$HISTSIZE
 – 
Maximum Number of Stored History Events
$HISTSIZE defines the maximum number of items in the internal history list.
Links
BashSupport Pro is a Zsh IDE with support for $HISTSIZE – try it now!