dotfiles/scripts/brainy.theme.zsh
2022-03-06 00:23:12 +01:00

20 lines
330 B
Bash
Executable File

#!/bin/zsh
# Detect prompt color
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
if [ "$color_prompt" = yes ]; then
PS1="
%F{blue}%n@%m %F{default}[%F{yellow}%/%f] %F{green}○ %F{magenta}[%F{default}%*%F{magenta}]
%F{default}> "
else
PS1="
%n@%m [%/%f] ○ [%*]
> "
#PS1="%n@%m [%/%f] o [%*]
#> "
fi