Skip to content

Conversation

@stephen-huan
Copy link
Contributor

The first commit fixes cross-references in the man page.

The second commit corrects the file type color descriptions to match current source.

#[rustfmt::skip]
file_type: Some(FileType {
image: Some(Purple.normal()),
video: Some(Purple.bold()),
music: Some(Cyan.normal()),
lossless: Some(Cyan.bold()),
crypto: Some(Green.bold()),
document: Some(Green.normal()),
compressed: Some(Red.normal()),
temp: Some(White.normal()),
compiled: Some(Yellow.normal()),
build: Some(Yellow.bold().underline()),
source: Some(Yellow.bold()), // Need to discuss color
}),

P.S.: The version packaged in nixpkgs has $version instead of the version number; I've opened NixOS/nixpkgs#345185.

@cafkafk cafkafk self-assigned this Sep 29, 2024
Copy link
Member

@cafkafk cafkafk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks much nicer!

P.S.: The version packaged in nixpkgs has $version instead of the version number; I've opened NixOS/nixpkgs#345185.

I've also incorporated this change into the flake package output.


When we're moved to clap fully, we can give a more interesting version number through it by getting it from Cargo.toml and appending -dev or something like that, without crane it feels like a bit too much effort to keep in sync.

@cafkafk cafkafk merged commit 2d1c966 into eza-community:main Sep 29, 2024
5 checks passed
@stephen-huan stephen-huan deleted the fix-man branch September 29, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants