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
- Host: GitHub
- URL: https://github.com/trapd00r/zsh-syntax-highlighting-filetypes
- Owner: trapd00r
- Created: 2011-06-20T21:32:19.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-06-08T08:07:22.000Z (8 months ago)
- Last Synced: 2024-12-07T08:50:16.985Z (about 2 months ago)
- Topics: dircolors, highlighting, ls-colors, lscolors, shell, syntax-highlighting, zsh
- Language: Shell
- Homepage:
- Size: 29.3 KB
- Stars: 156
- Watchers: 4
- Forks: 17
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=65SFZJ25PSKG8¤cy_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