Skip to content

zpm-zsh/mysql-colorize

Repository files navigation

mysql-colorize

Colorization for mysql

Installation

Bash

  • Clone repository, for example, into ~/.bash/mysql-colorize
git clone https://github.com/horosgrisa/mysql-colorize.bash ~/.bash/mysql-colorize
  • After that source mysql-colorize.bash.
source ~/.bash/mysql-colorize/mysql-colorize.bash

Zsh

If you use my ZPM

  • Add Plug horosgrisa/mysql-colorize into .zshrc

If you use oh-my-zsh

  • Clone repository into ~/.oh-my-zsh/custom/plugins
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

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