Comments (10)
eza -F works the same
...it works the same unless you try something like -Fl
.
The -t
flag is my personal dealbreaking itch with this tool (I run ls -lrt
hundreds zillions of times per day). I don't want to develop muscle memory for -lsnew
and find myself fighting with vanilla linux.
I haven't looked at the argument parsing code—is this kind of disambiguation for ls
compatibility likely to be complicated to implement? I think we all have our repetitive behaviors with ls
. If this kind of fix is unlikely to work with eza, I might go back to my ancient-but-functional color ls drop-in replacement.
from eza.
When
-t
is specified with arguments, it behaves much likeexa -t X
.When
-t
is specified without arguments, it behaves likels
.
I don't think this can be done. This is because when parsing a single character argument, it is necessary to know if the corresponding argument requires an additional parameter.
According to the existing parsing logic, a command line like eza -tmodified
is valid. If, as suggested by @WhyNotHugo, eza
can't tell whether the ra
after the letter t
in eza -ltra
is another two arguments or the parameters belonging to t
. This is ambiguity.
from eza.
I've also discovered recently ls -p which suffixes folders with a /, making them more distinct, and that eza lacks:
eza -F
works the same as it classifies which type of file it is, it then adds the /
for directories and *
for executables and '@' for links
from eza.
this can either be picked up by someone as I myself will wait/implement this in #640 but not in main branch
from eza.
Quite true. I guess the only options are to chose one of the following:
- Remain compatible with exa.
- Remain compatible with ls.
from eza.
I don't think this can be done. This is because when parsing a single character argument, it is necessary to know if the corresponding argument requires an additional parameter.
This is doable, and we have what needed but as Clap is incoming I dont wanna take time to modify it, you are free to do it yourself tho.
from eza.
I've also discovered recently ls -p
which suffixes folders with a /
, making them more distinct, and that eza lacks:
➜ eza -p
eza: Unknown argument -p
home on boot-fixes via ❄️ IMPURE (dotfiles-shell-env)
❌3 ❯ eza --version
eza - A modern, maintained replacement for ls
v0.18.0 [+git]
https://github.com/eza-community/eza
from eza.
I've also discovered recently
ls -p
which suffixes folders with a/
, making them more distinct, and that eza lacks:➜ eza -p eza: Unknown argument -p home on boot-fixes via ❄️ IMPURE (dotfiles-shell-env) ❌3 ❯ eza --version eza - A modern, maintained replacement for ls v0.18.0 [+git] https://github.com/eza-community/eza
This should probably be a separate issue, seems useful, and easy to implement, although I'm not much for using a single letter flag for this
from eza.
I haven't looked at the argument parsing code—is this kind of disambiguation for ls compatibility likely to be complicated to implement?
I implemented it and it works on many cases, but there are edge cases where it can be ambiguous (as mentioned in a comment above).
from eza.
The
-t
flag is my personal dealbreaking itch with this tool (I runls -lrt
hundredszillions of times per day). I don't want to develop muscle memory for-lsnew
and find myself fighting with vanilla linux.
@adrian-the-git Yes. It itches me too. So I made a script to wrap eza: when -lrt
appears the script simply replaces it with -lsnew
, then sends the argument to eza.
from eza.
Related Issues (20)
- bug: pr template isn't auto-populated HOT 2
- Bug: `idump` give different output even without any modification, on Debian
- feat: Allow abbreviations for long option names HOT 1
- Wessss up on
- How to default -t to modified -r
- bug: Problems with man pages HOT 2
- feat: In tree view, the branch child contents should line up with the parent's first symbol
- bug: eza ignores LC_TIME and always shows dates in English (deb.gierens.de build only) HOT 7
- Apple Silicon Builds HOT 1
- feat: Plugin support HOT 3
- feat: dynamic navigation of tree HOT 1
- bug: unset permission bit "invisible", customizing color for that bit has no effect if unset
- bug: incorrect display of `eza -T --absolute /full/path` HOT 2
- feat: Formatted hyperlinks HOT 2
- Few eza icons different compared to exa icons
- feat: Allow skip check if dir is full or empty for icons
- feat: Adjustable Column Spacing
- bug: Different file sizes are shown by eza and ls commands HOT 1
- bug: Sort function not work very well with hungarian letters HOT 2
- feat: Adding Emacs Dired Support
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 eza.