How to syntax-highlight a fish command? #9793
-
I use How does |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Or you could update to fish 3.6 and try the new builtin history pager, which highlights automatically. |
Beta Was this translation helpful? Give feedback.
fish_indent --ansi
will highlight any command you give it via stdin. It is a real binary on your system. It will indent all the input as well, use--no-indent
to suppress that (it will still reformat to one job per line tho).Or you could update to fish 3.6 and try the new builtin history pager, which highlights automatically.