-
Hey everyone. I currently have a project that implements a similar concept to Python's virtualenv but for Arch Linux's Pacman (found here). It changes the prompt in the same way virtualenv does. Currently, a user is having an issue with the prompt change not appearing when using my project. I looked at how Starship customizes prompts and it appears to use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Without an official module in starship, a [env_vars."_PACMAN_VENV"]
format = "Pacman Env [$env_value]($style) " In general, the details of how the prompt is shown differ from shell-to-shell. For instance, on bash the |
Beta Was this translation helpful? Give feedback.
Without an official module in starship, a
custom
or anenv_var
can likely achieve this, e.g.:In general, the details of how the prompt is shown differ from shell-to-shell. For instance, on bash the
PS1
-value is replaced where with zsh thePROMPT
is not changed after initial set-up.