Skip to content
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

feat: Add ps1 overwrite to the completion script. #201

Merged
merged 3 commits into from
Jul 14, 2023

Conversation

ruben-arts
Copy link
Contributor

Set PS1 var to add the pixi prompt in front of the prompt

@ruben-arts ruben-arts requested a review from wolfv July 12, 2023 08:09
&mut Args::command(),
"pixi",
&mut std::io::stdout(),
);

// Create PS1 overwrite command
let mut script = String::new();
let shell = ShellEnum::from_str(clap_shell.to_string().as_str()).into_diagnostic()?;
Copy link
Contributor

Choose a reason for hiding this comment

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

We should check if this works for all supported shells

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't ill make an issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants