1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-24 17:13:19 +00:00
Files
sharkdp--bat/assets
truffle 5f952066fb fix: only offer language names in zsh tab completion for -l
The previous awk script in `bat.zsh.in` split each line of
`bat --list-languages` on `:` or `,` and emitted every field as a
completion candidate, including the second column. That column lists
file matchers, which can be plain extensions (`rs`), globs (`*.rs`),
absolute paths (`/etc/profile`), or filenames (`Containerfile`). None
of those parse as `-l` arguments, so completing them produces
`unknown syntax` errors.

Switch to splitting on `:` only and emit the language name as the
completion value with the file-matcher list as its description, which
matches the bash completion's behavior.

Closes #3735.
2026-05-10 09:19:54 +00:00
..
2026-03-03 05:18:49 +02:00
2026-01-14 21:13:44 -07:00
2018-11-11 14:50:59 +01:00
2025-08-19 05:07:54 +02:00
2025-10-19 21:06:26 +03:00