News for hackers. Stuff that matters.
Re:Starship.rs: minimal, fast prompt for any shell by daliusd on Friday January 26, 2024 @06:34AM (#39141484)
I am using starship for some time and it is great. The only advice is to avoid `custom` as it is slow: not too much but might be annoying.
Re:Starship.rs: minimal, fast prompt for any shell by matchai on Friday January 26, 2024 @07:11AM (#39141777)
Starship maintainer here.

`custom` spawns a child process of your shell, so it's probably being slowed down by a slow shell init script. If the custom script you're running doesn't require your full shell customization to work, you can provide a custom shell command [0], passing an argument to not use your shell config. For instance: `fish --no-config` or `bash --noprofile --norc`

[0]: https://starship.rs/config/#custom-command-shell

Re:Starship.rs: minimal, fast prompt for any shell by daliusd on Friday January 26, 2024 @08:11AM (#39142238)
Thanks. That might help.