hp
toc

Colorful Time Prompt in zsh

2020-04-18, post № 227

programming, #customization, #prompt, #zsh

I have been using zsh for a while now, and whilst I like its minimalistic approach, I felt that my prompt lacked a certain graphical oomph.
Thus, I built what most graphical environments hide away at the screen’s corner directly into the prompt — a clock. Paired with a time-sensitive rainbow color scheme, I find the result quite visually pleasing.

If you want to try out my prompt, the following installer automatically downloads jprompt.c, compiles it and asks if .zshrc should be set up to load my prompt.

Since my blog has moved, the following script might not work properly.

% curl --silent https://www.jfrech.com/jblog/post227/install.zsh | zsh
Jonathan Frech's blog; built 2024/08/31 22:59:44 CEST