Select your custom Highlight Set and click , or assign it to a specific session via that session's Properties (Properties > Terminal > Highlight Sets). Supercharge Your Workflow with Regular Expressions
: Go to the Tools menu and select Terminal Highlight Sets .
A Highlight Set is a collection of rules that define how specific text strings appear on the terminal screen. Instead of reading through lines of monochrome text, users can configure Xshell to automatically color-code output based on keywords and regular expressions. xshell highlight sets
For advanced users, Xshell supports Regular Expressions (Regex) in keywords. This is powerful for dynamic data.
If two rules match the same piece of text, XShell prioritizes them based on their order in the Highlight Set list. Move your most critical rules (like specific error flags) to the top of the list using the button so they override more generic rules (like numbers or dates). Conclusion Select your custom Highlight Set and click ,
are customizable text-highlighting rules applied to terminal output. Rather than manually searching for keywords like "ERROR," "WARN," or "SUCCESS," you can define these keywords in advance. When these words appear in the terminal, Xshell automatically highlights them based on your predefined criteria. This feature is critical for:
In the Highlight Sets dialog box, click to create a new set. Instead of reading through lines of monochrome text,
Change the background color of the text (e.g., Yellow highlight).
Select to open the management dialog box.
: Add specific strings or patterns you want to highlight.
Stick to universally understood color psychology to minimize cognitive load: