zsh-users / zsh-syntax-highlighting

Fish shell like syntax highlighting for Zsh.
github.com/zsh-users/zsh-syntax-highlighting
BSD 3-Clause "New" or "Revised" License
19.55k stars 1.32k forks source link

It highlights some commands like reboot red in the OpenSUSE #896

Open LiberaTeMetuMortis opened 1 year ago

danielshahaf commented 1 year ago

If you press <Enter> at the point where reboot is shown in red, does it (a) run reboot, (b) error out saying it can't find the command, or (c) something else? I guess it's either (b), in which case the code functions as intended, or you're actually running sudo reboot, in which case this issue would be a duplicate of #107.