dotfiles/scripts/brainy.theme.bash

14 lines
397 B
Bash
Raw Normal View History

2022-03-02 23:08:13 +01:00
#!/bin/bash
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
if [ "$color_prompt" = yes ]; then
2022-03-06 00:23:12 +01:00
PS1="\n\[\033[01;34m\]\u@\h\[\033[00m\] [\[\033[01;33m\]\w\[\033[00m\]] \[\033[01;32m\]○\[\033[00m\] \[\033[01;35m\][\[\033[00m\]\t\[\033[01;35m\]]\[\033[00m\]\n> "
2022-03-02 23:08:13 +01:00
else
2022-03-06 00:23:12 +01:00
PS1="\n\u@\h [\w] ○ [\t]\n> "
2022-03-02 23:08:13 +01:00
#PS1="\u@\h [\w] o [\t]\n> "
fi
unset color_prompt force_color_prompt