A node app that colorizes the ls
output with color and icons.
Screenshots taken from original repository for the ruby version, but the output should be the same in the javascript version.
-
Just
lc
: Prints all directories, files and dotfiles in current directory. -
With paths :
lc path(s)
prints all directories, files and dotfiles in given directory / directories. -
With
--report
or-r
flag :lc path(s) -r
: Prints all directories, files and dotfiles in directories, along with a brief report about number of files and folders shown.
Note: The package is not currently on the NPM registry. Until it is, you will need to install via the second listed method.
This readme will be updated once the package is released.
- Install Node and npm.
- Install the patched fonts of powerline nerd-font and/or font-awesome.
npm install -g colorls-js
You can also install by cloning the repository, and running:
npm install -g
from the project directory.
NOTE: If you're iTerm2 on Mac, you may have to enable the nerd-font at iTerm2 > Preferences > Profiles > Text > Non-Ascii font > Knack Regular Nerd Font Complete
Feel free to clean up any parts of the project. This is a port of the original, so any changes made there will have to be ported, and any help with the port is appreciated!
MIT License 2017 - Athitya Kumar.