Skip to content

sebastiencs/ls-icons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Overview

This is a fork of coreutils with a modified ls that print icons

Dependencies

Installation

You need to install icons-in-terminal first.

  • Once installed, you can run:
$ ./bootstrap
$ export CFLAGS=-DNO_TRUE_COLOURS=1 # Execute this line _only_ if your terminal doesn't support true colours
$ export CC=clang CXX=clang++
$ ./configure --prefix=/opt/coreutils
$ make
$ make install
$ /opt/coreutils/bin/ls

You can check if your terminal support true colours here.

Customization

  • You can change colors in src/ls-icons.c.
  • To add new icons with file extensions, modify the array file_matches in src/ls-icons.c. Pull requests are welcome

About

ls command with files icons

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 57.7%
  • Shell 24.1%
  • Perl 13.0%
  • Makefile 2.1%
  • C++ 2.1%
  • M4 1.0%