Skip to content
/ lless Public

Like less, but with colours. Less really is more.

License

Notifications You must be signed in to change notification settings

ofer987/lless

Repository files navigation

lless is the colorizing of less. It works similar to less but displays content with syntax highlighting.

Supported Languages

  • JavaScript
  • Java
  • Ruby
  • Python
  • Go
  • C
  • JSON

Installation

OSX

$ brew install lless

Standalone

lless can be easily installed as an executable. Download the latest compiled binaries and put it in your executable path.

From source

Prerequisites:

$ go get -u github.com/jingweno/lless

Usage

$ lless FILE
$ lless --bg=dark FILE ... # dark background
$ lless # read from standard input
$ curl https://raw.githubusercontent.com/jingweno/lless/master/main.go | lless

It's recommended to alias lless to less:

alias less=lless

You can always invoke less after aliasing lless by typing \less (in Bash).

License

MIT

Acknowledgements

This project was based off jingweno's ccat

Credits

Thanks to Sourcegraph who built this awesome syntax-highlighting package.

About

Like less, but with colours. Less really is more.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published