Created
August 22, 2014 09:27
-
-
Save junxy/80d4a45a1997b33f9c55 to your computer and use it in GitHub Desktop.
自带的配置有问题,会卡在一个地方,并且有个 Python 在后台运行最终导致内存爆满。(支持 IP v6) ref https://github.com/DmitriyLyalyuev/DotFiles/blob/master/.grc/conf.ifconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# number | |
regexp=\d+(\.\d+)? | |
colours=white | |
======= | |
# ip | |
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} | |
colours=magenta | |
======= | |
# hwaddr | |
regexp=(\d|[A-Fa-f])+(\:(\d|[A-Fa-f])+)+ | |
colours=yellow | |
======= | |
# size | |
regexp=\d+(\.\d+)?\s(K|M)b | |
colours=yellow | |
======= | |
# interface | |
regexp=(([a-z]{3}\d)|lo) | |
colours=green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment