💾 Archived View for pixeldreams.tokyo › technomancy › cute-zsh-theme.gmi captured on 2024-07-08 at 23:39:08. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
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"