prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
3.02k stars 166 forks source link

In `pixi shell`, add an option to turn off the prompt #1533

Closed Yura52 closed 3 months ago

Yura52 commented 3 months ago

Problem description

I use starship as the prompt provider for my zsh. Currently, in pixi shell, the prompt by Pixi is concatenated with the prompt generated by starship, and the result does not look good. Is it possible to add an option to turn off the prompt modifier provided by Pixi?

wolfv commented 3 months ago

Yes, there is an option in the config file: https://pixi.sh/latest/reference/pixi_configuration/#change-ps1

corneliusroemer commented 2 months ago

As a +1 here, I would suggest maybe making the prompt opt in rather than opt out.

It's quite intrusive right now (at least to a starship user, which I am)

This came up before here: https://github.com/prefix-dev/pixi/issues/1275 and here: https://github.com/prefix-dev/pixi/issues/523