-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you remove secondary line numbers column? #1586
Comments
Hi! Can you reproduce this problem everywhere? I can not reproduce. Can you provide detailed step-by-step instructions on how to reproduce please? It would also be helpful if you could paste the output of |
I just run comparison between regular and plain style: |
I bet you get numbers also with plain In any case, I would be grateful if you could provide the output of |
No line numbers were added with regular Here's the diagnostic output: Software versionbat 0.18.0 Operating systemDarwin 20.3.0 Command-linebat --diagnostic Environment variablesSHELL=/usr/local/bin/zsh
PAGER=less
BAT_PAGER=<not set>
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
XDG_CONFIG_HOME=<not set>
XDG_CACHE_HOME=<not set>
COLORTERM=truecolor
NO_COLOR=<not set>
MANPAGER=<not set> Config fileCould not read contents of '/Users/dzhi/.config/bat/config': No such file or directory (os error 2). Compile time information
Less version
|
Interesting. Some follow up questions. Do you get the same line numbering problems if you
|
Godamn. I had the following env var configured in .zshrc: THanks for pointing me in right direction! Didn't know bat depends on less for displaying. |
So issues like sharkdp#1586 are easier to troubleshoot.
I'm aware that the line numbers column can be removed with --style=plain but how does one remove the other line numbers column?
screenshot: https://i.imgur.com/srD0Jys.png
The text was updated successfully, but these errors were encountered: