Comments (3)
Not sure how relevant it is to mention a completely different tool in this repo, but you might like nushell. For example, I just wrote this little command that adds a line count to every file from ls (it generates some warnings, but that's fixable):
~/code/eza> let one = ls; $one | insert "lines" {|l| wc -l $l.name | parse "{n} {name}" | get n.0 } 16-05-24 14:12:13
╭────┬─────────────────────┬──────┬──────────┬──────────────┬───────╮
│ # │ name │ type │ size │ modified │ lines │
├────┼─────────────────────┼──────┼──────────┼──────────────┼───────┤
│ 0 │ CHANGELOG.md │ file │ 34.5 KiB │ a month ago │ 1618 │
│ 1 │ CODE_OF_CONDUCT.md │ file │ 5.4 KiB │ 2 months ago │ 136 │
│ 2 │ CONTRIBUTING.md │ file │ 7.9 KiB │ 2 months ago │ 181 │
│ 3 │ Cargo.lock │ file │ 41.1 KiB │ a month ago │ 1613 │
│ 4 │ Cargo.toml │ file │ 3.1 KiB │ a month ago │ 144 │
...
It's fairly easy to define a new command ls-lines
or something that does this.
It serves a bit of a different purpose from eza, but if you need a tool where you want ls
but enriched with your own data, it might be worth looking into. You can also do your own filtering and other computation. Not as pretty as eza though :)
from eza.
Another option may be to one day support nushell "natively", so we can get nice columns and stuff when run in nushell, I think @PThorpe92 looked at it at some point, but IIRC it would require a lot of work. I do know there exists some snippet in the nushell discord for converting eza output to something nushell understands FWIW.
from eza.
It would be nicer to offload this to the shell rather than us having to maintain a plugin system, also from like an ecosystem perspective, it seems more reasonable to have some universal language rather than over-specializing every single binary.
from eza.
Related Issues (20)
- 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 HOT 2
- YAML icon missing even with a NerdFont patched font HOT 3
- Autocomplete. I don't have any. HOT 4
- feat: Make eza fail when built with -git and the --git parameter is given in the command line HOT 2
- bug: piped output causes eza to print symlink targets HOT 1
- bug: `cross` release step stalls for unknown reasons since 0.18.17 HOT 10
- "warning: unused imports: `DisplayWidth`, `TextCellContents'" HOT 6
- bug: eza output wrong child items in directory symbolic link on windows. HOT 11
- bug: latest release `0.18.18` doesn't contain build assets HOT 1
- bug: 0.18.18 release is missing executables HOT 1
- bug?: missing release assets of v0.18.18? 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 eza.