Comments (2)
The section on Custom configurations is incomplete in this regard.
The file files.yaml
only holds the mapping between the type of file (not necessarily the file extension) and the corresponding icon to be used. For example it is quite common to interchangeably use yml
and yaml
as the extension for YAML files. files.yaml
only holds the mapping for yml
.
So, what does the program do when the file extension is yaml
?
The program first refers the file file_aliases.yaml
. It lies in the same directory as files.yaml
. It basically maps various file extensions to types of files. I suggest you check the file in the link provided. You should be able to understand easily what I mean.
So, before defining the icon mapping in files.yaml
, you should probably update file_aliases.yaml
first. This is the code that determines the file type from the extension of the file, and this line loads the corresponding icon.
from colorls.
This is a duplicate of #469 which has a PR in #577.
\edit: except for the last pattern: *.test.ts
-- this is a new feature, we basically would have to implement glob matching (like ls does for colors) or suffix matching at least.
from colorls.
Related Issues (20)
- Integrate Auto Library
- opensuse command defaults to colorls.ruby3.1
- Failing to install colorls on Ubuntu WSL HOT 2
- zsh: /usr/local/bin/colorls: bad interpreter: /usr/bin/ruby2.5: no such file or directory HOT 2
- Option for NOT human readable size - show file size in bytes HOT 5
- Distribute `colorls` as a standalone binary. HOT 2
- Fedora 37 upgradable for Fedora 38 HOT 1
- collect2 missing error install HOT 1
- Install failure on macOS Monterey M2 Chip HOT 1
- zsh: /usr/local/bin/colorls: bad interpreter: /usr/local/homebrew/opt/[email protected]/bin/ruby: no such file or directory HOT 2
- colorls -h shows help HOT 2
- Rounding bug for large files HOT 1
- How to make colorls running under specific ruby env using ruby-install?
- can't find gem colorls (>= 0.a) with executable colorls (Gem::GemNotFoundException)
- Installation problem on Windows. MSYS2 HOT 2
- Installation failure on MacOS Ventura M1 Pro 10c/16c HOT 3
- Combination of flags not working with `spec`
- ERROR: While executing gem ... (Errno::EEXIST) File exists @ dir_s_mkdir - /usr/local/bin ON M1 Pro Sonoma 14.3
- -m Option does not work!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from colorls.