Skip to content
/ nice-ls Public

My nice ls styles, but without messing with ls

Notifications You must be signed in to change notification settings

remy/nice-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published