Stop using tput, for better compatibility with BSDs

This commit is contained in:
Quad 2020-02-06 10:06:52 +01:00
parent 2e4486043a
commit ba3e81610c
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#
# Custom prompt
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\]\h\[$(tput setaf 7)\] - \[$(tput setaf 1)\]\u\[$(tput setaf 7)\] - \[$(tput setaf 4)\]\W \[$(tput setaf 7)\]\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]"
export export PS1="\[\e[1;32m\]\h\[\e[m\] - \[\e[1;31m\]\u\[\e[m\] - \[\e[1;34m\]\W\[\e[m\] \\$ "
# Add local folders to PATH
PATH="$PATH:$HOME/.local/bin:$HOME/.local/scripts/public:$HOME/.local/scripts/private"