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

a nodejs style error occurs in mac terminal #3518

Closed
TrickyPi opened this issue Jan 26, 2022 · 3 comments
Closed

a nodejs style error occurs in mac terminal #3518

TrickyPi opened this issue Jan 26, 2022 · 3 comments
Labels
🐛 bug Something isn't working as expected.

Comments

@TrickyPi
Copy link
Sponsor Contributor

Current Behavior

a nodejs style error occurs

Expected Behavior

display correct style

Additional context/Screenshots

screenshot

Possible Solution

the default of symbol in nodejs configs is f898, maybe it could change to e718, they seem similar.
https://github.com/starship/starship/blob/master/src/configs/nodejs.rs#L24

Environment

  • Starship version: 1.2.1
  • zsh version: zsh 5.8 (x86_64-apple-darwin20.0)
  • Operating system: Mac OS 11.5.2
  • Terminal emulator: Apple_Terminal 440
  • Git Commit Hash: 682f49a
  • Branch/Tag: v1.2.1
  • Rust Version: rustc 1.58.0 (02072b482 2022-01-11)
  • Rust channel: stable-x86_64-apple-darwin release
  • Build Time: 2022-01-15 11:28:43 +00:00

Relevant Shell Configuration

# starship
eval "$(starship init zsh)"

# zsh-autosuggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

Starship Configuration

[character]
success_symbol = "[➜](bold green)"
@TrickyPi TrickyPi added the 🐛 bug Something isn't working as expected. label Jan 26, 2022
@chipbuster
Copy link
Contributor

I believe this is a duplicate of #2546, so I'm going to close this to keep all the conversation in one place. Feel free to reopen if you think this is an incorrect assessment.

@chipbuster
Copy link
Contributor

You can see the simple solution here and the more involved summary here

@TrickyPi
Copy link
Sponsor Contributor Author

okay

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

No branches or pull requests

2 participants