-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sort output from pixi global list
#1394
Labels
✨ enhancement
Feature request
Comments
This looks to be the offending function: Lines 136 to 158 in fad669b
|
I've never written any Rust code, but ChatGPT suggests the below may work? diff --git a/src/cli/global/list.rs b/src/cli/global/list.rs
index f690552..a2e294e 100644
--- a/src/cli/global/list.rs
+++ b/src/cli/global/list.rs
@@ -154,5 +154,6 @@ pub(super) async fn list_global_packages() -> miette::Result<Vec<PackageName>> {
}
}
+ packages.sort();
Ok(packages)
} ...I guess, assuming |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
The output of
pixi global list
is unsorted making it more difficult to find the package you're interested in.e.g.
The text was updated successfully, but these errors were encountered: