2
0
mirror of https://github.com/garabik/grc.git synced 2024-11-10 21:26:52 +01:00
bash-color-grc/grc.conf

300 lines
3.9 KiB
Plaintext
Raw Normal View History

2015-01-25 18:36:02 +01:00
# anything to do with irc
\b\w+\b.*irc.*
conf.irclog
# log file
\b\w+\b.*log\b
conf.log
# configure command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)??configure
2015-01-25 18:36:02 +01:00
conf.configure
# ping command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?(io|o|n|h|arp|l2)?ping[236]?\b
2015-01-25 18:36:02 +01:00
conf.ping
# traceroute command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?traceroute6?\b
2015-01-25 18:36:02 +01:00
conf.traceroute
# gcc command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?(g?cc|[gc]\+\+)\s
2015-01-25 18:36:02 +01:00
conf.gcc
# make command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?g?make\b
2015-01-25 18:36:02 +01:00
conf.gcc
# netstat command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?netstat\b
2015-01-25 18:36:02 +01:00
conf.netstat
2016-06-19 01:18:18 +02:00
# stat command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?stat\b
2016-06-19 01:18:18 +02:00
conf.stat
# ss command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ss\b
2016-06-19 01:18:18 +02:00
conf.ss
2015-01-25 18:36:02 +01:00
# diff command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?diff\b
2015-01-25 18:36:02 +01:00
conf.diff
# wdiff command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?wdiff\b
2015-01-25 18:36:02 +01:00
conf.wdiff
2016-06-19 01:18:18 +02:00
# last/who command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?(lastb?|who|lastlog)\b
2016-06-19 01:18:18 +02:00
conf.last
2015-01-25 18:36:02 +01:00
# ldap tools
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ldap
2015-01-25 18:36:02 +01:00
conf.ldap
# cvs command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?cvs\b
2015-01-25 18:36:02 +01:00
conf.cvs
# mount command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?mount\b
2015-01-25 18:36:02 +01:00
conf.mount
# findmnt command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?findmnt\b
conf.findmnt
2015-01-25 18:36:02 +01:00
# mtr command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?mtr\b
2015-01-25 18:36:02 +01:00
conf.mtr
# ps command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ps\b
2015-01-25 18:36:02 +01:00
conf.ps
# dig command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?dig\b
2015-01-25 18:36:02 +01:00
conf.dig
# ifconfig command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ifconfig\b
2015-01-25 18:36:02 +01:00
conf.ifconfig
# ls command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ls\s
2015-01-25 18:36:02 +01:00
conf.ls
2015-02-27 16:34:02 +01:00
# mount
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?mount\b
2015-02-27 16:34:02 +01:00
conf.mount
# df
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?df\b
2015-02-27 16:34:02 +01:00
conf.df
# du
2020-11-13 13:26:41 +01:00
^du\b
conf.du
2016-05-14 07:25:47 +02:00
# ip addr/link
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ip( -\w+)* a(d(d(r(e(ss?)?)?)?)?)?\b
2016-05-14 07:25:47 +02:00
conf.ipaddr
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ip( -\w+)* l(i(nk?)?)?\b
2016-05-14 07:25:47 +02:00
conf.ipaddr
# ip route
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ip( -\w+)* r(o(u(te?)?)?)?\b
2016-05-14 07:25:47 +02:00
conf.iproute
# ip neighbor
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ip( -\w+)* n(e(i(g(h(b(o(ur?)?)?)?)?)?)?)?\b
2016-05-14 07:25:47 +02:00
conf.ipneighbor
2016-06-19 01:18:18 +02:00
2016-10-17 21:51:07 +02:00
# ip command - rest of commands
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ip\b
2016-10-17 21:51:07 +02:00
conf.ip
# env
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?env\b
conf.env
2016-06-19 01:18:18 +02:00
# systemctl show
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?systemctl show\b
2016-06-19 01:18:18 +02:00
conf.env
2016-05-14 07:25:47 +02:00
# iptables
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?iptables\b
2016-05-14 07:25:47 +02:00
conf.iptables
2016-06-19 01:18:18 +02:00
# lspci
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?lspci\b
conf.lspci
# lsblk
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?lsblk\b
conf.lsblk
# lsof
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?lsof\b
conf.lsof
# blkid
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?blkid\b
conf.blkid
2016-06-19 01:18:18 +02:00
# id
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?id\b
conf.id
2016-06-19 01:18:18 +02:00
# iostat / sar
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?(iostat|sar)\b
2016-06-19 01:18:18 +02:00
conf.iostat_sar
# fdisk
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?fdisk -l\b
conf.fdisk
# free
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?free\b
conf.free
2016-06-19 01:18:18 +02:00
2016-10-17 21:51:07 +02:00
------------
# docker
# docker ps
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker(-compose)? ps\b
conf.dockerps
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker image(s| ls| list)\b
conf.dockerimages
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker search\b
conf.dockersearch
2020-12-28 16:40:12 +01:00
#^([/\w\.]+\/)?docker pull\b
2016-06-19 01:18:18 +02:00
#conf.dockerpull
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker-machine ls\b
conf.docker-machinels
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker network ls\b
conf.dockernetwork
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker info\b
conf.dockerinfo
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?docker version\b
conf.dockerversion
2016-10-17 21:51:07 +02:00
------------
2016-01-13 11:48:42 +01:00
# journalctl command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?journalctl\b
2016-01-13 11:48:42 +01:00
conf.log
2016-10-17 21:13:35 +02:00
2019-07-24 10:26:44 +02:00
# KubeCTL
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?kubectl((?!edit|exec|run|go-template).)*$
2019-07-24 10:26:44 +02:00
conf.kubectl
# sensors command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?sensors\b
2019-07-24 10:26:44 +02:00
conf.sensors
2016-06-19 01:18:18 +02:00
# systemctl command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?systemctl\b
2016-06-19 01:18:18 +02:00
conf.systemctl
# sysctl command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?sysctl\b
2016-06-19 01:18:18 +02:00
conf.sysctl
# tcpdump command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?tcpdump\b
2016-06-19 01:18:18 +02:00
conf.tcpdump
# tune2fs command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?tune2fs\b
2016-06-19 01:18:18 +02:00
conf.tune2fs
# lsmod
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?lsmod\b
2016-06-19 01:18:18 +02:00
conf.lsmod
# lsattr
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?lsattr\b
2016-06-19 01:18:18 +02:00
conf.lsattr
# semanage ---------------------------------
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?semanage boolean\b
conf.semanageboolean
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?semanage fcontext\b
conf.semanagefcontext
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?semanage (user|login|port)\b
conf.semanageuser
2016-06-19 01:18:18 +02:00
# getsebool
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?getsebool\b
2016-06-19 01:18:18 +02:00
conf.getsebool
# ulimit
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ulimit\b
2016-06-19 01:18:18 +02:00
conf.ulimit
# vmstat
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?vmstat\b
2016-06-19 01:18:18 +02:00
conf.vmstat
# dnf
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?dnf\b
2016-06-19 01:18:18 +02:00
conf.dnf
# nmap
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?nmap\b
2016-06-19 01:18:18 +02:00
conf.nmap
# uptime | w
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?(uptime|w)\b
2016-06-19 01:18:18 +02:00
conf.uptime
# getfacl
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?getfacl\b
2016-06-19 01:18:18 +02:00
conf.getfacl
2017-10-09 17:03:06 +02:00
# ntpdate
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ntpdate\b
2017-10-09 17:03:06 +02:00
conf.ntpdate
2016-06-19 01:18:18 +02:00
# showmount
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?showmount\b
2016-06-19 01:18:18 +02:00
conf.showmount
2016-10-17 21:13:35 +02:00
# apache ant command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?ant\b
conf.ant
# # apache maven command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?mvn\b
conf.mvn
2018-01-06 13:04:34 +01:00
# iwconfig command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?iwconfig\b
2018-01-06 13:04:34 +01:00
conf.iwconfig
# lolcat command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?lolcat\b
2018-01-06 13:04:34 +01:00
conf.lolcat
# whois
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?whois\b
2018-01-06 13:04:34 +01:00
conf.whois
# go test
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?go test\b
conf.go-test
2020-10-13 16:13:36 +02:00
# sockstat command
2020-12-28 16:40:12 +01:00
^([/\w\.]+\/)?sockstat\b
2020-10-13 16:13:36 +02:00
conf.sockstat