1.0.0 • Published 4 years ago

nice-ls v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

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

npm.io

Prerequisites

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