Skip to content

Conversation

@tausiq2003
Copy link

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, fixed issue #969

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
: ${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}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes the terminal supports 256 colours. Is this assumption valid in all supported use-cases?

(It also assumes zsh supports that syntax, but I don't have time right now to look up when the fg=N syntax was added to zsh. Probably long enough ago.)

@danielshahaf
Copy link
Member

To the other maintainers: I'm not sure whether I should be pressing "Approve workflows to run" right now or not. If workflows should be approved to run, could someone greenlight them, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants