BATPIPE(1) General Commands Manual BATPIPE(1) (NAME) batpipe - less bat (DESCRIPTION) (USAGE) lesspipe batpipe LESSOPEN . batpipe : Bash: eval "$(batpipe)" Fish: eval (batpipe) (ENVIRONMENT) +--------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | | +--------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | | | | | | BATPIPE_TERM_WIDTH | bat . (-) . | +--------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ (BUILT-IN VIEWERS) +--------------------------------------+--------------------+ | | | +--------------------------------------+--------------------+ | | | | | eza, ls | | .tar, .tar.gz | tar | | .zip, .jar | unzip | | .gz | gunzip | | .xz | xz | +--------------------------------------+--------------------+ (EXTERNAL VIEWERS) (API) batpipe . bash ~/.config/batpipe/viewers.d/ batpipe . (Creating Viewers) $BATPIPE_VIEWERS . - viewer_${viewer}_supports [file_basename] [file_path] [inner_file_path] - viewer_${viewer}_process [file_path] [inner_file_path] viewer_${viewer}_supports . process . (API) $BATPIPE_VIEWERS -- . $BATPIPE_ENABLE_COLOR -- . (true|false) $BATPIPE_INSIDE_LESS -- batpipe less . (true|false) batpipe_header [pattern] [...] -- . batpipe_subheader [pattern] [...] -- . strip_trailing_slashes [path] -- . (CAVEATS) - batpipe less . BATPIPE=color . BATPIPE(1)