You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After «x=$HOME», there's a difference between the LBUFFER='$x ' and LBUFFER='$HOME ' cases as you describe. Additionally, `_zsh_highlight_main_highlighter_expand_path` returns '$HOME' (five-letter string) in the latter case but the actual home directory ('/home/foo') in the former case.
I've no time to investigate further, sorry.
When the
AUTO_CD
option is set, and the first input word is a parameter...ZSH_HIGHLIGHT_STYLES[autodirectory]
HOME
parameter is highlighted byZSH_HIGHLIGHT_STYLES[unknown-token]
I expected
HOME
to have the same syntax highlighting as other parameters with a directory value (e.g.PWD
,OLD_PWD
, etc.).Is this the same for everyone else?
The attribute of
HOME
is a scalar-export-special, (seeecho $parameters[HOME]
).The text was updated successfully, but these errors were encountered: