ThePrez / ServiceCommander-IBMi

Service Commander for IBM i
Apache License 2.0
40 stars 12 forks source link

Feature/config colors branch fix #196

Closed ajshedivy closed 1 year ago

ajshedivy commented 1 year ago

Explain the reasoning for this pull request. For instance, is it for a new feature, bug fix, code style/cleanup, or something else? If fixing an open issue, please link to it here.

This PR has the fixed branch with only changes regarding the terminal color configuration.

solution for suggestion in #190 for configuring terminal colors

Any additional comments/context?

To enable custom terminal colors, head to /QOpenSys/etc/sc/conf and open scrc with your favorite text editor. Add the following argument with a list of contexts and colors to change.

# Terminal Color defaults used in sc:
#   RUNNING: GREEN
#   NOT_RUNNING: PURPLE
#   INFO: CYAN
#   WARNING: YELLOW
#   ERROR: BRIGHT_RED
#   PLAIN: WHITE
#   STATUS: BLUE
#
# To override these colors, uncomment the following and
# add comma separated list of contexts and colors to change:
#
# --color-scheme=[CONTEXT:COLOR], [CONTEXT:COLOR]

--color-scheme=NOT_RUNNING:RED, RUNNING:CYAN

image

ajshedivy commented 1 year ago

@chrjorgensen I added those changes. I also added a list of available colors to scrc.

chrjorgensen commented 1 year ago

@ajshedivy Great job - thanks!