public
Created

broken prompt

  • Download Gist
gistfile1.bash
Shell
1 2 3 4 5 6 7 8 9 10
color() {
tput setaf $1
shift
printf -- "$@"
tput sgr0
}
color_yellow() {
color 3 "$@"
}
PS1='\n$(color_yellow \u)\w '

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.