Ethan P.
Ethan P.
> Thank you for your contribution. [...] let's maybe make this opt-in at first? I'm not sure if it would be a good idea to transition this to becoming opt-out...
Great catch! I'm not really sure this is something that would be easy to fix, though. `bat` uses [clap](https://github.com/clap-rs/clap) for argument parsing and generating the `--help` message. By default, clap...
Another idea is that we could extend `--map-syntax` to work with `-l`/`--language`. I'm not sure what the best way to approach it would be, since `--map-syntax` affects filename-based matchings, but...
@keith-hall it would just be an alias, yeah. I'll defer to your and sharkdp's judgement for the best approach to take with this for the same reasons Enselic mentioned, though.
Is there any chance you have a file named `cache` in the directory you were executing the command from while within tmux? If there is, `bat` will disable the `cache`...
@victorhernandezo, do you still have this issue? If so, would you be able to provide us with more information about your system (e.g. distro, distro version) and how you installed...
Bat already supports line ranges, but as a flag instead of a file name :) From the manpage: ``` -r, --line-range ... Only print the specified range of lines for...
> `--line-range` physically cuts the file, though - no way to "scroll" up, right? That is correct, yeah. Looking back at this issue with a clear head, it might be...
According to the v0.23.0 changelog, `-S` and `--chop-long-lines` are an alias for `--wrap=never`, https://github.com/sharkdp/bat/blob/e828d7840acc8abfd3f803e9f6b50d887cc547d7/CHANGELOG.md?plain=1#L23 It seems that `--chop-long-lines` is a bit of a misleading name for that flag, since `bat`...
> PS — I will add that `nroff -man /usr/share/man/man1/bash.1 | bat -l man` gives me some funny: > ``` > SEE ALSO > Bash Reference Manual, Brian Fox and...