Comments (3)
The --no-icons
is already planned with the same logic than --color
(#69) and it can solve most of the usecases.
Based on my experience I think the --classic
could useful because most of the time when I pipe ls I use less
behind for the pagination (ls --tree | less
for example). With the default --color
(and soon the default --icon
) flag value to auto
I loose the colors (and soon icons). In order to solve this my alias looks like alias ls='lsd --color=always --icon=always
and my less
output is pretty again.
This solution works fine with most of my daily needs but sometimes I want to use the ls output for other stuff than less
. In those few cases I am currently blocked by my alias. It's in this case that the --classic
can help. By explicitly use this flag (ls --classic | xargs rm
) I override temporary all my configurations set into my alias and remove all the icons and the colors in order to make xargs usable.
from lsd.
--classic
may not needed explicitly to users. When lsd is found being redirected into pipes, it should make itself remove colors, hide icons, etc. (just like classic ls
do with --color=auto
).
from lsd.
Just for curiosity, in what situation you need always
, while auto
doesn't do the job?
from lsd.
Related Issues (20)
- [Bug]: lsd -la takes a long time HOT 1
- Hardlink count not working on Windows 11
- Icons disappear in Tmux in Putty HOT 3
- How to dynamically configure color scheme? HOT 2
- color of symbolic link and color + icon of link target HOT 1
- Documentation is inaccurate HOT 1
- [Bug]: lsd-v1.1.0-aarch64-unknown-linux-musl reports 1.0.0 as version HOT 3
- File list is totally vertical if the list doesn't fit into one line unless run with `-a` HOT 10
- trucate user / group name before '\'
- new versions not available with cargo HOT 2
- should we hide the user/group block when permission set to attribute in windows HOT 3
- alacritty no show icon HOT 1
- fails to build with `--locked` HOT 3
- [Bug]: `name` icon settings with capital letters are ignored
- icons.yaml not letting configure any new extensions except for default
- [Bug]: "corrupted size vs. prev_size" on ARM with "--git -l" HOT 1
- Missing icon HOT 3
- [Bug]: lsd unicode characters not piped correctly in windows HOT 1
- [Bug]: All files from NTFS partition showing with green highlight HOT 1
- Truncate file names for a better looking grid list HOT 2
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.