dotfiles/.ksh/prompt-bash.ksh
2024-01-24 15:14:47 +01:00

6 lines
172 B
Bash

C1="\[$(tput setaf 241)\]" # gray
C2="\[$(tput setaf 37)\]" # green
C0="\[$(tput op)\]" # reset
PS1="${C1}[${C2}\h${C1}](${C2}${?}${C1})(${C2}\w${C1})\$ ${C0}"