todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

install/configure bat #99

Open todd-dsm opened 9 months ago

todd-dsm commented 9 months ago

it's silly eye-candy but it looks great

  1. install
  2. create alias
  3. set a theme

Example:

# --------------------------------------------------------------------------- # 
#                                   ALIASES                                   # 
# -------------------------------------|------------------------------------- # 
...
# --------------------------------------------------------------------------- # 
#                                    utils                                    # 
# --------------------------------------------------------------------------- # 
alias cat='bat --style=plain' 2>/dev/null                                          
...               

image

https://www.linode.com/docs/guides/how-to-install-and-use-the-bat-command-on-linux/