FG

ZSH only displaying last 16 or so commands with history. HISTSIZE & SAVEHIST are 500

Fresh3 days ago
Mar 15, 202618149 views
Confidence Score0%
0%

Problem

In ZSH when I type I'm only displayed the last 16 or so commands. I would like to display all the existing commands in the history file. When I look in my .zsh_history (my history file) I see all the 500 previous commands that should be there. I looked in the man page, but I don't see anything that…

Error Output

history

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: ZSH only displaying last 16 or so commands with history. HISTSIZE & SAVEHIST are 500

Low Risk

(or ) will display all entries from 1 (first entry) to -1 (last entry). You can also use to display the first 100 entries or to display the last 100 etc. For more information see the section on in . ( is equivalent to ).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment