Skip to content

A better LS command written in rust as I want to learn Rust 🥴

License

Notifications You must be signed in to change notification settings

marlomgirardi/better-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better LS

⚠️ As of now, this is no replacement for anything, this is only a personal project I decided to create to learn rust.

We use icons from NerdFonts

This is compatible only with terminals that support truecolor.

Type echo $COLORTERM in your terminal, if the result is truecolor you are good to go!

How-to

Add icons

Under config there is two files, folders.yml and files.yml. Both are used to map names to icons with the same structure:

  • icons contains a map from name to icon, so if there is a new icon, this is probably the place to add.
  • aliases contains a map to icons, so if there is an icon already that you want to map to a name, this is the place.

Update colors

Under config you will find colors.yml containing dark and light both will have the same mapping for its variant.

We use colored for the colors with the true-color standard, so the mapping will be to RGB.

TODOs

There are two boards:

  • Flags - Flags to be implemented (probably will stick with the ones I use the most for now.)
  • Improvements - Things that can be done better.

Inspired by

  • colorls, as I've been using it for quite a while.
  • ls as expected to support the same commands as the unix LS.
  • my desire to learn Rust.

About

A better LS command written in rust as I want to learn Rust 🥴

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages