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

[cpulimit] commands after a `cpulimit` invocation don't show up green #897

Closed saltedcoffii closed 1 year ago

saltedcoffii commented 1 year ago

when running a command with another command, such as nice, sudo, pkexec, etc., the following command being run also shows up green, i.e., if I run sudo apt update, both sudo and apt are highlighted green. When running a command using cpulimit do not show up green. Example syntax includes:

$ cpulimit -l 200 -i clang++ -O2 -pipe dummy.cpp
$ cpulimit -l 500 -i -z ./configure
$ cpulimit -l 250 -v -i sudo make test