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

WSL shows ⬢ [Systemd] prompt #4555

Closed
joedborg opened this issue Nov 3, 2022 · 4 comments · Fixed by #4593
Closed

WSL shows ⬢ [Systemd] prompt #4555

joedborg opened this issue Nov 3, 2022 · 4 comments · Fixed by #4593
Assignees
Labels
🐛 bug Something isn't working as expected.

Comments

@joedborg
Copy link

joedborg commented Nov 3, 2022

Bug Report

Current Behavior

On WSL with zsh, the prompt constantly shows ⬢ [Systemd].

Expected Behavior

Don't show that.

Additional context/Screenshots

Seems similar to, but not the same as #3821.

Possible Solution

Assuming this is trying to show that systemd is in error, it is running in WSL but perhaps the liveliness is different.

Environment

  • Starship version: 1.11.0
  • Shell type: zsh
  • Shell version: 5.8
  • Shell plugin manager: None
  • Terminal emulator: Windows Terminal
  • Operating system: Windows 11

Starship Configuration

Empty.

@joedborg joedborg added the 🐛 bug Something isn't working as expected. label Nov 3, 2022
@chipbuster
Copy link
Contributor

I saw a similar bug being posted to r/fishshell, (a systemd display under WSL) so this is likely linked purely to WSL and not to the shell.

@joedborg
Copy link
Author

joedborg commented Nov 4, 2022

I agree that this is likely some quirk of the way Systemd is implemented in WSL, but I think there should be some attempt to handle WSL here too, given the growing user base.

@mbart13
Copy link

mbart13 commented Nov 10, 2022

I also noticed it today after enabling Systemd in WSL. I'm using Bash and I don't know how to get rid of that.

@tony
Copy link

tony commented Nov 13, 2022

Workaround:

[container]
disabled = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working as expected.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants