💾 Archived View for tilde.pink › ~kyo › technomancy › cute-zsh-theme.gmi captured on 2022-04-29 at 13:55:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

tiny cute zsh theme

january 3rd, 2022

edited: january 16th, 2022

here's a cute little zsh prompt theme.

it doesn't depend on oh-my-zsh though you can use it as a .zsh-theme too

screenie (108K)

# load color macros

autoload -U colors && colors

# build prompt

NAME="$USER"
ACCENT='magenta'
HEADER="%{$bg[$ACCENT]%}%{$fg[black]%} $NAME@ %{$reset_color%}"
DIRECTORY="%{$fg[$ACCENT]%}%(5~|%-1~/.../%3~|%~) %{$reset_color%}"
PS1="$HEADER $DIRECTORY"