Skip to content

【开源自荐】g: Yet another ls #3465

@equationzhao

Description

@equationzhao

项目地址:https://github.com/Equationzhao/g

类别:命令行工具

项目描述:

又是一个 modern ls

go 写的 , 跨平台 Linux/Windows/MacOS

主要是因为exa好像没有官方的Windows release, 我又想在几台电脑上都用类似的工具, 于是就自己写了一个(不过写了几个初版之后发现lsd也是跨平台的,但是都写了就继续完善吧 😕 😂)

支持多种输出格式 across / vertical / commas / table / markdown / json / html / csv / tree ...

支持自定义主题,支持在 build 时直接嵌入自定义主题

支持更多的输出内容 比如 checksum (md5/sha1/sha256...) , mime-type ...

支持丰富的sort选项和filter选项

支持生成替换shell原生ls的脚本 (zsh/bash/fish/nushell/powershell)

对于支持的shell 会自动在文件上添加超链接, 自动检测终端对颜色的支持 (basic|256|24bit) 【均可修改默认配置】

截图:

image

image

image

安装

go install

go install -ldflags="-s -w"  github.com/Equationzhao/g@latest

aur

yay -s g-ls

此外 release 也提供最新 deb 包

TODO

准备换中文文档,英文太蹩脚了

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions