remy / nice-ls

My nice ls styles, but without messing with ls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nice ls

Makes ls look nice, importantly (and ideally), without changing the ls command.

Firstly install using npm install --global nice-ls, then to enable, pipe the result of ls -l through nice-ls, or add an alias:

function ls() {
  command ls -l "$@" | nice-ls
}

Features

  • Icons for known file and folder types
  • Recently modified shown as brighter timestamps
  • Readable file sizes by default
  • Colour coded read/write/execute flags
  • User permission are brighter than group and other
  • Folder block size ignored
  • Blocks hidden (never sure what they mean!)

Screenshot

Prerequisites

  • nerd fonts - this is used for the icons
  • iTerm: Prefs -> Profiles -> Text -> Non-ASCII Font (select nerdfont)

About

My nice ls styles, but without messing with ls


Languages

Language:JavaScript 100.0%