How can I make zshell skip confirming substitutions?
Fresh3 days ago
Mar 15, 2026836 viewsConfidence Score0%
0%
Problem
If I run the following commands in bash: The second command will be interpreted as and executed. In zshell (at least with my current configuration), it will make the substitution, create the command , and leave my cursor at the end of it, so that I have to hit enter again to execute. Is there a way…
Error Output
mkdir foo cd !$
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I make zshell skip confirming substitutions?
Low Risk
From : HIST_VERIFY Whenever the user enters a line with history expansion, don't execute the line directly; instead, perform history expansion and reload the line into the editing buffer. So just add to your .zshrc Edit: Remove accidental single quo…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix