💾 Archived View for tilde.pink › ~kyo › technomancy › cute-zsh-theme.gmi captured on 2022-03-01 at 15:40:04. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-01-08)
-=-=-=-=-=-=-
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
# 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"