Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
2f62b8a9b1 | |||
56834cc443 | |||
3325805387 | |||
b8c70820ee |
2
.grcat
2
.grcat
@ -15,7 +15,7 @@ colours=white
|
||||
-
|
||||
|
||||
#numeric
|
||||
regexp=\s[\d\.]+(\s|.$)
|
||||
regexp=\s[\d\.]+\s*($|(?=\|))
|
||||
colours=yellow
|
||||
-
|
||||
|
||||
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 Nitso [https://github.com/nitso]
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -5,7 +5,7 @@ Sample config files showing how to colorize linux console mysql client using grc
|
||||
How to use it
|
||||
-------------
|
||||
1. Install grc (for debian systems: `apt-get install grc`)
|
||||
2. Copy both config files into your home directory
|
||||
2. Copy both config files into your home directory: [.grcat](./.grcat) and [.my.cnf](./.my.cnf)
|
||||
3. Run mysql client `mysql -u <user> -p -h <hostname>`
|
||||
4. Enjoy!
|
||||
|
||||
@ -28,3 +28,7 @@ You can also use `less` in pager to have some features like scrolling, search, l
|
||||
`pager = grcat ~/.grcat | less -RSFXin`
|
||||
|
||||
Just type `man less` to read about less parameters.
|
||||
|
||||
LICENSE
|
||||
-------
|
||||
Project distributes with standard MIT license
|
||||
|
Reference in New Issue
Block a user