Compare commits

...

3 Commits

Author SHA1 Message Date
Tausiq Samantaray a42b7e0f3b
Merge acfe8e4aaa into c4d9559184 2026-08-09 23:32:44 +05:30
Colin Kinloch c4d9559184 main: Add systemd run0 equivalent to sudo 2026-08-07 12:11:51 -07:00
tausiq2003 acfe8e4aaa
fix: changed color of ZSH_HIGHLIGHT_COLOR[comment]
So, if we type comments (interactive comments (`#`) or "elided parameters in command position" (`$`)), then its fg is black which is not visible for the normal terminal users, so it doesn't makes any sense, so I changed it a greyish version to 245 so that it will be clearly visible
2025-12-09 02:41:53 +05:30
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,7 @@
: ${ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]:=fg=cyan}
: ${ZSH_HIGHLIGHT_STYLES[assign]:=none}
: ${ZSH_HIGHLIGHT_STYLES[redirection]:=fg=yellow}
: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bold}
: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=245,bold}
: ${ZSH_HIGHLIGHT_STYLES[named-fd]:=none}
: ${ZSH_HIGHLIGHT_STYLES[numeric-fd]:=none}
: ${ZSH_HIGHLIGHT_STYLES[arg0]:=fg=green}
@ -354,6 +354,7 @@ _zsh_highlight_highlighter_main_paint()
'pkexec' '' # doesn't take short options; immune to #121 because it's usually not passed --option flags
# Not listed: -h, which has two different meanings.
'sudo' Cgprtu:AEHPSbilns:eKkVv # as of sudo 1.8.21p2
'run0' ugD:h # systemd 256.6
'stdbuf' ioe:
'eatmydata' ''
'catchsegv' ''