WIP: inspired by eza, fewer features
- Zig 89.7%
- Nix 9.9%
- Makefile 0.4%
| src | Add multiple colors per different filetype, will add more colors in the | |
| .gitattributes | add nix flake: used default github:Cloudef/zig2nix | |
| .gitignore | remove result | |
| build.zig | Remove dependencies, add README.md, remove unused files. | |
| build.zig.zon | Revert "change name" | |
| flake.lock | add nix flake: used default github:Cloudef/zig2nix | |
| flake.nix | add nix flake: used default github:Cloudef/zig2nix | |
| Makefile | added some colors to list output, todos and removed some unnecessary commented code | |
| README.md | Add multiple colors per different filetype, will add more colors in the | |
| REFERENCES.md | Update REFERENCES.md | |
About
Just needed a simple project to learn the basics of zig, don't expect much feature wise upon completion.
Work in Progress
This code doesn't do much at the moment.
Usage
I would probably alias this to the ls command using alias ls=ls-zig
ls-zig <flags>
Options:
-f | --only-files - show only files
-d | --only-dirs - show only directories
-a | --all - use with <-f|-d> includes hidden directories in list
-p | --path - path to another location to list the contents of