Skip to content

Instantly share code, notes, and snippets.

@pwsandoval
Created April 11, 2023 18:45
Show Gist options
  • Save pwsandoval/ba8fd23643453b54ee83697985cf7df4 to your computer and use it in GitHub Desktop.
Save pwsandoval/ba8fd23643453b54ee83697985cf7df4 to your computer and use it in GitHub Desktop.
bat-wsl.md

Software version

bat 0.22.1 (e5d9579)

Operating system

Linux 5.10.102.1-microsoft-standard-WSL2

Command-line

bat --diagnostic

Environment variables

SHELL=zsh
PAGER=less
LESS=-R
LANG=C.UTF-8
LC_ALL=<not set>
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>

System Config file

Could not read contents of '/etc/bat/config': No such file or directory (os error 2).

Config file

# Show all content
--paging=never

# Set theme"
--theme="TwoDark"

# Set style
--style="numbers,header,grid"

Custom assets metadata

---
bat_version: 0.22.1
creation_time:
  secs_since_epoch: 1677287383
  nanos_since_epoch: 990515817

Custom assets

  • metadata.yaml, 101 bytes
  • syntaxes.bin, 898115 bytes
  • themes.bin, 46036 bytes

Compile time information

  • Profile: release
  • Target triple: x86_64-unknown-linux-gnu
  • Family: unix
  • OS: linux
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2
  • Host: x86_64-unknown-linux-gnu

Less version

> less --version
less 551 (GNU regular expressions)
Copyright (C) 1984-2019  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: http://www.greenwoodsoftware.com/less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment