Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kermitsxb/5b37e5d53bf75a8df8bfa49f1c78a2d0 to your computer and use it in GitHub Desktop.
Save kermitsxb/5b37e5d53bf75a8df8bfa49f1c78a2d0 to your computer and use it in GitHub Desktop.

[Linux Mint 17.2] Install MyCLI and grc

Install both grc and mycli

$ [sudo] apt-get install grc && \
> curl https://packagecloud.io/gpg.key | [sudo] apt-key add - && \
> [sudo] apt-get install -y apt-transport-https && \
> [sudo] sh -c \
> 'echo "deb https://packagecloud.io/amjith/mycli/ubuntu/ trusty main" \
> > /etc/apt/sources.list.d/mycli.list' && \
> [sudo] apt-get update && \
> [sudo] apt-get install mycli

Enable using grc with mycli

Create or update the file : ~/.my.cnf

[client]
pager = grcat ~/.grcat

Create the file : ~/.grcat

An example of grc configuration can be found here

MyCLI configuration documentation can be found here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment