Zsh: Is it possible to disable history expansion inside double quotes?
5
votes
1
answer
362
views
Is it possible to disable history expansion inside double quotes?
I do not want history expansion to be completely disabled, as I still use it, but I see no reason to expand the history inside a string ...
An example of my desired behavior:
$ echo "Hello!"
Hello!
$ !!
Hello!
Asked by HappyFace
(1694 rep)
Apr 10, 2021, 03:27 PM
Last activity: Sep 12, 2024, 06:29 AM
Last activity: Sep 12, 2024, 06:29 AM