• zygo_histo_morpheus@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    If you pipe bat to another command it will act like cat so you can use it as a drop-in replacement and have it print things nicely when you want to view text and otherwise work as a normal commandline tool.

    • silt!@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      In my experience it was much slower, which is unfortunate. I still use bat, but that alias got removed pretty quickly.