'disable history substitution "preview" in zsh
in bash, if i enter:
mkdir /tmp/foo
cd !$
bash substitutes /tmp/foo for the bang-dollar, and executes the command
if i do the same in zsh, zsh fills in /tmp/foo for the bang-dollar and shows me the resulting command, pausing to let me again hit before executing:
mkdir /tmp/foo
cd !$
cd /tmp/foo # command prompt at the end of this line
but i don't want to do see a preview, i want it to do what bash did.
is there a way to un-preview in zsh?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
