-
Couldn't load subscription status.
- Fork 1.4k
Open
Description
Long flags for sudo (e.g. --askpass or --preserve-env) are treated as commands, and highlighted for not existing. The plugin also seems to assume sudo [flags] [env] [command] [args...] order, but flags and env can be mixed. (e.g. in sudo -s foo=bar baz, it recogdies -s as a flag, foo=bar as an environment variable, and baz as a command. but in sudo foo=bar -s baz, foo=bar is recognised as env, -s as a command, and baz as an argument)