zsh-users
 help / color / mirror / code / Atom feed
* Chroma functions in FSH – detailed Git highlighting
@ 2018-06-05 20:26 Sebastian Gniazdowski
  0 siblings, 0 replies; only message in thread
From: Sebastian Gniazdowski @ 2018-06-05 20:26 UTC (permalink / raw)
  To: Zsh Users

Hello,
"chroma functions", being something similar to "completion functions",
are per-command, specific highlighters. Chroma tracks current command
(e.g. git), highlights it, and even allows to emit a message under
prompt. It will verify if proper remote and branch is entered, and if
commit message doesn't exceed 72 characters, more is coming. Checkout
the demonstration:

https://asciinema.org/a/185707

There's also proof of concept under-prompt message video:

asciinema.org/a/ZIweHJk6M7EFiiaDiTthFAVxf

Any ideas for commands that should have chromas are welcomed.
-- 
Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-05 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-05 20:26 Chroma functions in FSH – detailed Git highlighting Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).