Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zpm-zsh/mysql-colorize

Adds color for mysql tables
https://github.com/zpm-zsh/mysql-colorize

mysql mysql-client mysql-colorize zsh

Last synced: about 3 hours ago
JSON representation

Adds color for mysql tables

Awesome Lists containing this project

README

        

mysql-colorize
===========

Colorization for mysql

Installation
------------

## Bash
* Clone repository, for example, into `~/.bash/mysql-colorize`
```sh
git clone https://github.com/horosgrisa/mysql-colorize.bash ~/.bash/mysql-colorize
```
* After that source mysql-colorize.bash.
```sh
source ~/.bash/mysql-colorize/mysql-colorize.bash
```

## Zsh

## If you use my [ZPM](https://github.com/horosgrisa/ZPM)

* Add `Plug horosgrisa/mysql-colorize` into `.zshrc`

## If you use [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)

* Clone repository into `~/.oh-my-zsh/custom/plugins`
```sh
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/horosgrisa/mysql-colorize
```
* After that mysql-colorize to your oh-my-zsh plugins array.

Now your mysql-client output look like this
![Mysql-client](https://raw.githubusercontent.com/horosgrisa/mysql-colorize/master/screenshot.png)

#### If you use FreeBSD or Mac, please install GNU sed.