Comments (2)
Hey @DarkTrancer 👋
I thought about a similar feature already; we could make it possible to associate a pre-defined output (or regexp) of the context command to a given color.
For example, what you precisely want could be achieved with something in the lines of context-color -p -c "whoami" --if-outputs "root" --then-color "red"
or something like (the API could probably be much better, it's just the first idea that comes to my mind).
What do you think?
from context-color.
Sounds great, there is also a way out there choice. Inverse , Red BG and Black text will give it a striking effect, maybe so far as a Virtual Boy style Bright Red BG and dull red text? Whatever you choose will give the script great options.
from context-color.
Related Issues (9)
- wget links to wrong page HOT 1
- Simple question HOT 2
- shellcheck issues HOT 2
- --comand flag error HOT 2
- Doesn't change prompt colors HOT 4
- Disallow certain colors HOT 3
- Overlaping long command line HOT 8
- Implement a test suite HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from context-color.