This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Command prompt highlighting does not work #84
Labels
bug
Something isn't working
Comments
hSaria
changed the title
Adding new regex into .chromaterm.yml not working
Command prompt highlighting does not work
Feb 28, 2020
v0.5.9 released with a fix for this issue. Thanks for submitting it – and with such detail; it really helps improve ChromaTerm :) |
@hSaria Thank you very much! it works perfectly! I would like to thank you for creating ChromaTerm and for making our lives easier and better as network admins. I'm glad I could help and I tried to be as clear as posible. Thank you again and best regards |
Glad you like it and thank you for the kind words. Full disclosure: the original ChromaTerm was written by TunnelsUp, so they also get part of the credit :) |
hSaria
added a commit
that referenced
this issue
Dec 28, 2021
hSaria
added a commit
that referenced
this issue
Dec 28, 2021
hSaria
added a commit
that referenced
this issue
Dec 28, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello everybody :)
Description
I have a similar issue as #81 but for me it's not colouring at all.
The regex is
^([^$#(]+)(\$|#|\([^)]+\)#)
The output is to basically color the command prompt
[root@dev ~]$
But when I add the regex to the yml file, respecting the indentation is not working at all
I have no errors when using CT like
ssh 1.1.1.1 | ct
but still no colouring the prompt.I also have version 0.3.4 on my Mac installed via brew and it's working just fine the regex using the old syntax in .chromatermrc
HIGHLIGHT {^([^$#(]+)(\$|#|\([^)]+\)#)} {bold white}
What I might be doing wrong that new regex are not working? because the file is being parsed, when I purposely make a mistake in the syntax, it automatically indicates me when using CT.
The issue I have it in both the server with CentOS 7 and in macOS Catalina
Environment
pip3 show chromaterm
)][root@dev ~]$ pip3 show chromaterm
Name: chromaterm
Version: 0.5.8
Summary: Colorize your output using RegEx
Home-page: https://github.com/hSaria/ChromaTerm
Author: hSaria
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.6/site-packages
Requires: psutil, PyYAML
Configuration
The text was updated successfully, but these errors were encountered: