Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coloring twidge #57

Open
Ne02ptzero opened this issue May 1, 2014 · 1 comment
Open

Coloring twidge #57

Ne02ptzero opened this issue May 1, 2014 · 1 comment

Comments

@Ne02ptzero
Copy link

This command:

twidge lsrecent | sed -e "s/@[0-9a-zA-Z_\-]*/\x1b[1;32m&\x1b[0m/g"|  sed -e "s/#[a-zA-Z0-9]*/\x1b[0;32m&\x1b[0m/g" | sed -e "s/http[^s]*/\x1b[4;34m&\x1b[0m/g" | sed -e "s/<[a-zA-Z0-9_\-]*>/\x1b[4;37m&\x1b[0m/g"

Make Hashtag && Username in green (different green), Link in underline-blue, and poster of the tweet in underline-blank.
Hope You enjoy it !

@cirrusUK
Copy link

cirrusUK commented Nov 1, 2016

Hi
i do not use twidge, i use this rubygem https://github.com/jugyo/earthquake
however after reading your issue i wondered if piping ccze -A would work to colourize commands, to test install ccze then | ccze -A
good luck.
( also one could maybe write a script for cw to use twidge)
just thought i'd mention ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants