Add OS type detection and custom coloring for root user #227
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit includes these new features:
if constantly logging into different computers with different
systems and you need to know if you need to type
apk
,apt
,dnf
, oryum
, for example. Enable it by setting thetheme_display_currentos
variable toyes
.setting the
theme_display_ssh_keylock
toyes
. Padlock isshown only when accessing the terminal via a SSH session.
The padlock is displayed before the hostname.
to be coloured with a different background. Set
theme_display_split_user_hostname
toyes
to enable thisfeature.
root
user, background (or the color of the username) will change
to red. New colour has been added to the theme(s) for this
feature.