Closed jkeilla closed 5 years ago
That's how escape sequences work - it's not specific to this tool at all. tput rmul
is what you need to clear the underline, so you can either add $(tput rmul)
at the appropriate point in your prompt or to a variable in colors.sh.
You helped me, thank you :)
When the underline style is apply in one element, for example, in path of the files, All the others elements too stay with underline style. My personalization:
export PS1="\n \[$undblu\]\w \[$txtylw\]\$git_branch\[$txtred\]\$git_dirty\[$bldblu\] \$ \[$txtrst\]"
Result:
I wear Ubuntu 16.04 with native bash