💻 Software
zsh, up arrow only repeats unique commands?
Fresh5 days ago
Mar 15, 20269252 viewsConfidence Score0%
0%
Problem
I'm looking for a setting that will make it so that when i hit the up arrow, zsh shows commands i have recently edited. The catch is, i only want unique commands. Currently, if i type 50 times, i have to press up arrow 50 times to get the command i used before typing the echo command. This is annoy…
Error Output
echo "hello world"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: zsh, up arrow only repeats unique commands?
Low Risk
will throw out all previous matches of the command, which can be confusing when using the history as a log of what you did later: HIST_IGNORE_ALL_DUPS: If a new command line being added to the history list duplicates an older one, the older command …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix