Highlight the input as it is typed, with fish's colors; bjoterm 0.2.3

Commands that exist are blue and others red; arguments cyan, underlined
when they name a path that exists; quotes, variables, operators,
redirections and comments each have their color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Linus Björnstam 2026-12-01 15:00:15 +01:00
parent 2636bbbc4e
commit dc0a4e5d2b
7 changed files with 235 additions and 4 deletions

View file

@ -31,6 +31,7 @@ non-trivial functions. No essays.
- `(bjosh pipeline)`: value commands next to each other, as one unit.
- `(bjosh editor)`: when Enter runs a line, the completer (fish's
completions when fish is on PATH), and the suggester.
- `(bjosh highlight)`: the highlighter of the input, with fish's colors.
- `(bjosh dirs)`: the visited directories, ranked by frecency, saved in
`$XDG_STATE_HOME/bjosh/dirs`.
- `(bjosh api)`: what a package of user commands imports: `Extension`,