Why is my Bash loading so slowly after installing Starship?

0
16
Asked By SunnySideUp42 On

I recently decided to jazz up my Bash terminal by installing Starship. However, ever since I set it up with Homebrew, the load times have ballooned to over 2 seconds. I'm curious if there's a way to pinpoint what's causing this slowdown. Any tips or suggestions? I should mention that I figured out the issue afterward—turns out I had an echo command that added a whopping 115 lines to the eval command every time I opened my terminal, haha!

3 Answers

Answered By TerminalNinja99 On

I think Starship is pretty cool! It doesn't really slow down your shell much as long as you're careful with your config. Plus, it makes the terminal look nice. If you're into it, check out installing `ble.sh` too for added features like auto-completion.

Answered By TechWhiz101 On

Starship usually tells you why it's slow. In my case, the command `node --version` was lagging, and since Starship shows the versions for Node and Python, it slowed things down. You might want to check your configuration by editing the `~/.config/starship.toml` file. Look for the `[nodejs]` section and try adding `disabled = true` to it.

Answered By GadgetGuru88 On

What's your take on Starship, by the way?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.