Ecosyste.ms: Awesome

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

https://github.com/trapd00r/zsh-syntax-highlighting-filetypes

zsh syntax highlighting with dircolors in realtime
https://github.com/trapd00r/zsh-syntax-highlighting-filetypes

dircolors highlighting ls-colors lscolors shell syntax-highlighting zsh

Last synced: about 1 month ago
JSON representation

zsh syntax highlighting with dircolors in realtime

Lists

README

        

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=65SFZJ25PSKG8&currency_code=SEK&source=url) - Every tiny cent helps a lot!

zsh-syntax-highlighting-filetypes
=================================

![image](/extra/zsh-syntax-hl-ft.png)

LS\_COLORS on your commandline in realtime as you type.

This is based on nicoulaj's [zsh-syntax-highlighting][0] project. I've taken the
initial version of his script and added highlighting for filetypes and a few
other things. The filetype highlighting rules are taken from my [LS_COLORS][1] project.

This will only work in terminals capable of displaying 256 colors.

[0]: https://github.com/zsh-users/zsh-syntax-highlighting
[1]: https://github.com/trapd00r/LS_COLORS