I am trying to get a triangular background for bash PS1 prompt.
I have tried the existing library called powerline
but it seems to be heavy for my ageing laptop. I have managed to get the background colour, but have no idea of getting the shape. Currently what I have is:
.
Is there any straight-forward way of having those shape?
I am using:
$ echo $TERM
xterm-256color
$ echo $SHELL
/bin/bash
$ bash --version
GNU bash, version 4.3.42(1)-release (x86_64-redhat-linux-gnu)