https://github.com/remy/nice-ls
My nice ls styles, but without messing with ls
https://github.com/remy/nice-ls
Last synced: 7 months ago
JSON representation
My nice ls styles, but without messing with ls
- Host: GitHub
- URL: https://github.com/remy/nice-ls
- Owner: remy
- Created: 2020-01-23T12:34:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-06T07:52:15.000Z (over 5 years ago)
- Last Synced: 2024-05-03T18:59:25.659Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
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](https://nerdfonts.com/) - this is used for the icons
- iTerm: Prefs -> Profiles -> Text -> Non-ASCII Font (select nerdfont)