We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aca4e2 commit b8c93afCopy full SHA for b8c93af
zsh-syntax-highlighting.zsh
@@ -72,7 +72,7 @@ typeset -ga ZSH_HIGHLIGHT_HIGHLIGHTERS
72
_zsh_highlight()
73
{
74
# Store the previous command return code to restore it whatever happens.
75
- local ret=$?
+ readonly ret=$?
76
77
# Remove all highlighting in isearch, so that only the underlining done by zsh itself remains.
78
# For details see FAQ entry 'Why does syntax highlighting not work while searching history?'.
0 commit comments