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)
- LSD hangs on MSYS2 Mingw64 terminal
- about performance HOT 2
- Color choice makes output unreadable HOT 3
- Theme is ignored for color of links (symlinks) HOT 2
- [Feature request] Second level sort method (for --sort=extension) HOT 1
- stucked on windows HOT 1
- [Question] What is the logic behind printing filenames in columns and rows? HOT 1
- Very bad performance on windows located HOT 1
- refactoring `src/theme/icons.rs`
- lsd always shows an error HOT 4
- [Feature request] Add a block for creation date HOT 3
- I'm not sure this time is a problem, as shown HOT 1
- The default time format is changed after localization date support HOT 9
- Cannot list an NFS mounted volume HOT 3
- Can't list a folder where . is not listable HOT 2
- `--system-protected` option is ignored when used with `-a` or `-A`
- [Bug] Double width icons and the codepoint change in Nerd Fonts Material Design Icons HOT 6
- lsd -l is broken on windows when . is a symlink, only lists .
- unaligned year and time with localized date
- Filesizes shown in bytes not colored with size.medium and size.large 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.