Sitemap

TIL: Prezto Sorin Theme Made Starship Slow

1 min readOct 7, 2025

I have for some times seen Starship.rs and wanted to try it out as an alternative to the Prezto prompts.

But every time I did it became really slow and laggish. Thankfully I finally found out why!

The culprint was the Sorin theme in Prezto being enabled. So after disabling the Prezto prompt module it works great.

But it could be faster!

The secret sauce to make it purr like a v8 is to set directory.truncate_to_repo = false in starship.toml so it won’t use git to find the root for the truncation of the directory.

There is the config I am starting out with for reference:

"$schema" = 'https://starship.rs/config-schema.json'

format = """
$directory\
$character"""

[line_break]
disabled = false

[directory]
truncate_to_repo = false
truncation_length = 1
truncation_symbol = ""
fish_style_pwd_dir_length = 1

[character]
disabled = false
success_symbol = '[](bold fg:color_green)'
error_symbol = '[](bold fg:color_red)'
vimcmd_symbol = '[](bold fg:color_green)'
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
vimcmd_replace_symbol = '[](bold fg:color_purple)'
vimcmd_visual_symbol = '[](bold fg:color_yellow)'

--

--

Henrik Hauge Bjørnskov
Henrik Hauge Bjørnskov

Written by Henrik Hauge Bjørnskov

I build stuff at Relatel A/S, vivid traveller and gear junkie.

No responses yet