dotfiles/.ksh/prompt-bash.ksh

6 lines
172 B
Bash
Raw Normal View History

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}"