2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00
Commit Graph

318 Commits

Author SHA1 Message Date
Radovan Garabík
047bcc6c7a
Merge pull request #86 from kapsh/lspci
Tune lspci colors
2018-09-26 16:23:16 +02:00
Erik Valdivieso
f3f76ad382
Fix packet loss percent with dot number
Works with

0%
0.0%
100%
100.0%
2018-08-29 11:31:01 -05:00
Florian Beer
918df658c2
Update logfile config
This commit refines how logfiles are displayed, so it is more suitable for webserver and mailserver logs in addition to generic kernel messages:

* Add colorization of strings in double quotes
* Alter parsing of pathnames to also include common URL path components
* Mark IPv4 and IPv6 addresses
* Detect email addresses
* Detect HTTP verbs and common HTTP and mailserver status codes

I think it is rather nice to look at and easy to visually parse important parts of each log line. Since I've been using this config for a long time on my servers I thought I should give back and make it available to the public.

Merge if you feel like it, if not it is here to copy for anyone that wants to. Thanks @garabik for your awesome tool!
2018-08-24 11:07:13 +02:00
Isaias Pina
1d07328d38
Add kubectl and yaml conf file 2018-08-09 22:14:04 -05:00
g0tmi1k
98ec00d036 Add "Dynamic aliases"
Based on: https://unix.stackexchange.com/questions/148/colorizing-your-terminal-and-shell-environment
2018-07-25 15:18:38 +01:00
Radovan Garabík
d64b7c6523
Merge pull request #92 from iax7/master
Fix color files
2018-07-01 14:59:23 +02:00
Radovan Garabík
681408c3a5
Merge pull request #97 from tasnad/master
Fixed color for the ss command.
2018-07-01 14:54:21 +02:00
Radovan Garabík
e0033c0a23
Merge pull request #99 from fanaugen/add_docker_compose
Add docker-compose to the shell init files
2018-07-01 14:51:14 +02:00
Radovan Garabík
8ec2f1a310
Merge pull request #98 from felixonmars/patch-1
Fix a typo in grc.1
2018-07-01 14:48:33 +02:00
Alex Jahraus
d713c4fbce
Add docker-compose to the shell init files 2018-06-25 17:35:38 +02:00
Felix Yan
692cd20fba
Fix a typo in grc.1 2018-06-11 15:21:11 +08:00
Tasnad Kernetzky
fc39736c78
Fixed conf.ss: Match all IPv6 addresses not only ::1 2018-06-06 11:24:53 +02:00
Tasnad Kernetzky
90de144c31
Merge pull request #1 from tasnad/tasnad-patch
Fix: brackets, address scope; match process name
2018-06-05 19:00:08 +02:00
Tasnad Kernetzky
66efc0dc3a
Fix: brackets, address scope; match process name
Newer versions of ss have a slightly different output syntax: IPv6 addresses are put in brackets (like in URLs).
tcp   LISTEN  0       32                       [::1]:53              [::]:*   
Also, the addresses' scope may be in the output:
192.168.1.1%eth0:68           0.0.0.0:*   users:(("NetworkManager",pid=82,fd=6)) ino:661155 sk:272 <->

I had to move the "status" regex or it would overwrite IPv6 addresses.
2018-06-05 18:57:20 +02:00
Isaias Pina
e9fc71c699
Fix ipaddr, iproute and uptime colors 2018-05-14 15:53:27 -05:00
Isaias Pina
e88d90ff0a
Add common file to highlight words in green,red,yellow 2018-05-14 15:48:48 -05:00
Isaias Pina
4c8b5a799a
Fix dig coloring single chars 2018-05-14 14:44:44 -05:00
Alexander Kapshuna
9c4796ff65 Tune lspci colors 2018-05-03 16:58:44 +03:00
Radovan Garabík
375b6c3443 remove duplicate findmnt 2018-04-29 16:54:46 +02:00
Radovan Garabík
92aac170d0 debian changelog time 2018-04-29 16:12:55 +02:00
Radovan Garabík
ec91099255 fix colliding matches 2018-04-29 16:04:31 +02:00
Radovan Garabík
98612d8fb5 version number 2018-04-29 15:39:28 +02:00
Radovan Garabík
aa6871479c typo 2018-04-29 15:36:56 +02:00
Radovan Garabík
99c13d1fa5 add debian build dependencies 2018-04-29 10:42:04 +02:00
Radovan Garabík
337794041b prepare debian changelog 2018-04-29 10:31:14 +02:00
Radovan Garabík
98302aaf75 Merge branch 'devel' of github.com:garabik/grc into devel 2018-04-29 10:06:31 +02:00
Radovan Garabík
d0420ed646 --colour=auto is not the default 2018-04-29 10:06:20 +02:00
Radovan Garabík
5d7c715ea9
Merge pull request #85 from kapsh/aliases
Consider existing aliases when defining aliases in zsh
2018-04-29 09:43:55 +02:00
Radovan Garabík
dbd246f57a install zsh function only into /usr/local... 2018-04-28 19:25:30 +02:00
Radovan Garabík
c244781df8 nping support 2018-04-28 19:19:42 +02:00
Radovan Garabík
59509cff15
Merge pull request #84 from xPMo/zsh-completion
Support ZSH auto-completion
2018-04-28 19:17:00 +02:00
Radovan Garabík
ad736f824e
Merge pull request #81 from hamon-e/fish_update
do not colorize if output is not a terminal
2018-04-28 19:13:06 +02:00
Radovan Garabík
869a5ebe93
Merge pull request #80 from bladeroot/new-confs
add new configurations
2018-04-28 19:08:12 +02:00
Radovan Garabík
e1c94357fe
Merge pull request #79 from iax7/master
Update regexp for multiple conf files
2018-04-28 19:06:30 +02:00
Radovan Garabík
f47677d6e4
Merge branch 'devel' into master 2018-04-28 19:06:06 +02:00
Alexander Kapshuna
c91450d0fb Consider existing aliases when defining aliases in zsh
Resolve #83
2018-04-07 13:52:43 +03:00
xPMo
50ba64c8bc
don't set COMPLETE_ALIASES
Since grc has a sudo-like completion function, aliases can be expanded properly by Zsh's completion system.
2018-03-09 02:28:36 -06:00
xPMo
fdea4dc477
install _grc to zsh/site-functions 2018-03-09 02:14:30 -06:00
xPMo
f4ecb7249b
add ZSH completion function _grc
Based on zsh's provided _sudo function
2018-03-09 02:11:51 -06:00
Benoit Hamon
bde2b3140a do not colorize if output is not a terminal 2018-02-23 12:32:10 +01:00
Yurii Myronchuk
481e097c76 add new configurations 2018-01-06 14:04:34 +02:00
Isaias Piña
cc1880e6d9
Update conf.sysctl 2017-12-07 15:52:01 -06:00
Isaias Pina
d927c5db24
Fix conf files
Add conf.jobs file
Fix lsattr and df conf files
Fix dockerimages conf file
Update grc.fish
2017-11-23 17:44:36 -06:00
Radovan Garabík
a110dd51bd better fix end of line stripping; strip whitespaces 2017-11-04 21:14:43 +01:00
Radovan Garabík
c43e6a2ca3 fix end of line stripping 2017-11-04 20:48:02 +01:00
Radovan Garabík
4b76c139a5
Merge pull request #70 from iax7/patch-2
Update conf.lsblk to color UUID correctly
2017-11-04 19:57:11 +01:00
Radovan Garabík
1d661756f0 beginning of word 2017-10-09 17:15:20 +02:00
Radovan Garabík
b281df72c4 add ntpdate config file 2017-10-09 17:04:22 +02:00
Radovan Garabík
a734ae32a4 add ntpdate config file 2017-10-09 17:03:06 +02:00
Radovan Garabík
b1d36b1f19 Merge pull request #68 from iax7/patch-1
Error when disk usage is 100%
2017-10-09 16:56:44 +02:00