innerout / ls-icons

ls command with files icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:C 57.6%Language:Shell 24.1%Language:Perl 13.0%Language:Makefile 2.1%Language:C++ 2.1%Language:M4 1.0%Language:Python 0.0%