"I probably need less information for your prompts." I told myself and here is why I am convinced.
Experience§
Throughout my adventurous search for the best terminal prompts out there, I am utterly convinced that I don't need fancy terminal prompts. Despite what they have to offer like speed and performance, you only need a handful of information and information you have to re-verify again and again in the terminal.
You might be wondering, "but you need that information". Well, that depends on the scenario.
Let's say, you are in a Julia project, you get the version number of Julia and this glyph "" that may not render properly if your font does not support it. How many times do you have to see it? How many times do you need to see it?
In my experience, I rarely do it. I just usually run ls
and call it a day.
I always check the files§
And I rarely look at the fancy version and language indicator. When I work on projects, what's most important to me are
- where i am aka
- folder
- directory
- "everything is files on linux[1]"
- git information
- time and date
I was not convinced at first because probably it's a lot of work to change what I used to do. But thanks to this post by blainsmith in the fediverse, I changed my mind.
Now my prompt uses this configuration.
precmd_functions+=( precmd_vcs_info )
But keep in mind, I just skimmed through the Zsh Documentation and just look at whatever all over the internet just to change some colors and such. But it works so I guess that's also cool?
New prompt look§
Btw my old prompt uses default starship prompt so I guess everyone knows what the default looks like so no need to give a screenshot. Now, my prompt looks like this