ls command with files icons
Branch: master
Clone or download
Pull request Compare This branch is 12 commits ahead, 270 commits behind coreutils:master.
sebastiencs Add instructions to compile with clang
It seems that gcc fails to compile.
4
Latest commit d3450c1 Jul 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build-aux timeout: fix race possibly terminating wrong process Feb 10, 2017
doc date: adjust to gnulib parse-datetime changes Apr 22, 2017
gl maint: remove unused functions and constants Apr 22, 2017
gnulib @ efb8421 build: update gnulib submodule to latest Apr 27, 2017
gnulib-tests tests: adjust preceding change to handle general WERROR_CFLAGS values Dec 22, 2010
image maint: change image May 12, 2017
lib maint: update all copyright year number ranges Jan 1, 2017
m4 maint: modernize URLs Jan 15, 2017
man doc: Fixed typo in timeout man page May 4, 2017
po maint: tweaks so syntax tests pass for previous commit Feb 18, 2017
scripts b2sum: a new checksum utility with md5sum like interface Nov 22, 2016
src ls: change some colors with 256 colours Jul 10, 2017
tests date,touch: test and document large TZ security issue Apr 27, 2017
.gitattributes build: allow whitespace violations in gl/lib/*.diff files Oct 29, 2009
.gitignore ls: print icons using icons-in-terminal May 12, 2017
.gitmodules global: convert indentation-TABs to spaces Aug 25, 2009
.mailmap maint: enhance '.mailmap' mappings for THANKS generation Feb 12, 2015
.prev-version maint: post-release administrivia Mar 9, 2017
.vg-suppressions maint: update all copyright year number ranges Jan 1, 2017
.x-update-copyright maint: update further copyright year number ranges Jan 1, 2015
AUTHORS b2sum: a new checksum utility with md5sum like interface Nov 22, 2016
COPYING maint: don't change COPYING Jun 27, 2009
HACKING maint: fix various typos in recent commits May 4, 2017
Makefile.am doc: only distribute 5 years of ChangeLogs Feb 8, 2017
NEWS maint: fix various typos in recent commits May 4, 2017
README maint: modernize URLs Jan 15, 2017
README-hacking maint: update README-hacking, now that vc-dwim accepts --init Jan 15, 2017
README-package-renamed-to-coreutils maint: modernize URLs Jan 15, 2017
README-prereq maint: modernize URLs Jan 15, 2017
README-release maint: modernize URLs Jan 15, 2017
README-valgrind maint: update all copyright year number ranges Jan 1, 2017
README.md Add instructions to compile with clang Jul 27, 2017
THANKS.in b2sum: a new checksum utility with md5sum like interface Nov 22, 2016
THANKStt.in *** empty log message *** Aug 26, 2002
TODO maint: update all copyright year number ranges Jan 1, 2017
bootstrap ls: Support 256 colours Jul 10, 2017
bootstrap.conf build: fix missing renameat() on OS X 10.5.8 Mar 11, 2017
cfg.mk maint: avoid syntax check failure with wrapped returns_ Mar 28, 2017
configure.ac timeout: fix race possibly terminating wrong process Feb 10, 2017
dist-check.mk maint: avoid "make distcheck" failure without excess .deps directories Nov 30, 2016
init.cfg tty: handle misconfigured namespaces Apr 5, 2017
thanks-gen maint: generate much of the THANKS file Jan 1, 2011

README.md

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