Comments (9)
Hi @LippyBoy,
Thanks for the issue, it seems to be a good idea indeed. I see that with ls --color=always
the files are colored in green if the user have the executable permission but I don't see any *
.
For the specific icon I'm not sure it will make it more readable. For example if we lsd
an executable bash script and we replace the bash icon by generic executable icon we duplicate the "this file is an executable" info (color green + icon) and we loose the "this file is a bash script" info with the bash icon. There is currently the same issue with one of the latest change with the symbolic link.
from lsd.
#44 created
from lsd.
#45 created
from lsd.
Apparently the * only appears when using the "-F" flag, which was the default on my machine.
This is the full list of symbols:
@ means symbolic link (or that the file has extended attributes).
* means executable.
= means socket.
| means named pipe.
> means door.
/ means directory.
Maybe this should also be a feature.
from lsd.
I learned something new today, thanks to you.
The /
is already done for the directories.
The question is: Should it be set as default or do we need a flag for it? Personally I vote to put them by default without any flag, I think it would simplify the options.
from lsd.
As it is, lsd
displays icons for directories and files. I feel adding /
to the end of the filename is not a good idea for lsd
. I feel icons should indicate the type of the file (link, shell script, etc) and the colors should be as per LS_COLORS.
Edit: The problem with the indicators I have faced is when I double click+middle button press to copy-paste the names, the indicators are also included, which is an annoyance.
from lsd.
You copy-paste issue is interesting and it's true that moving the information into the icons solve the problem in most cases (as explained in my previous message the symbolic link bother me a little).
In any case an option allowing to setup the icons set (current icons / unicode only / no icons) should appear soon. This means that some user would have to possibility to print the result without icons and so I think that the -F
flag would be useful for them.
If I resume the discussion:
We add custom icons for all the custom files (pipe / symlink / executable / etc) and we create a -F
flag like the classic ls which can be used by the user who doesn't want to use the icons.
Seems good to you?
from lsd.
As you suggest, a -F
may be useful for printing purposes. But, would not the vanilla ls
already do that job? :-)
Regarding the icons, I noticed that the TeX file has an icon which is so thin, it is nearly invisible. Can a different icon be set for that; maybe the txt
file icon itself would be better than the existing one.
from lsd.
Yep, finally it's probably the best idea to follow the classic ls -F
option and add the filetype specific icons. If we do that it means that we should to remove the '/' at the end of the directories when the -F
option is not set.
from lsd.
Related Issues (20)
- Feature request: pipe into lsd HOT 2
- Would this functionality be accepted as contribution? HOT 1
- CI/CD: PowerShell completion script is built but not released
- Install man page
- Option `--icon` with absent mode argument should be equivalent to `--icon always`
- [Bug]: unknown field `truncate-owner` HOT 1
- Cannot install lsd version 1.0.0 HOT 2
- change full permissions files color HOT 2
- DIrectories ending with extention are prepended with language icons instead of direcotory icon HOT 1
- one column can't display correctly. HOT 2
- [Bug]: Documentation or Config error. HOT 2
- [Bug] Tree is much slower with lsd than exa. HOT 1
- [Bug]: The color setting `new-in-index` is not working HOT 4
- Runtime errors on windows (github release) HOT 1
- missing option to force multi-column output HOT 1
- Icons not showing up in ZSH HOT 1
- Nim lang support
- Cannot import configuration HOT 2
- [Bug]: error: The argument '--xxx' was provided more than once, but cannot be used multiple times
- New permission option: `both` HOT 1
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 lsd.