XIII
Very Senior Member
I want to use colors in my SSH prompt; in particular grey (for the `@` symbol).
For yellow I use this:
This works on the router, my Pi's, and my Macs
For grey I try this:
This works on my Pi's and my Macs, but not on the router (it's bright white there).
How can I use grey on the router?
PS: tput is from ncurses and all devices seem to have different versions:
For yellow I use this:
Code:
echo "$(tput setaf 3)Hi"
For grey I try this:
Code:
echo "$(tput setaf 8)Hi"
How can I use grey on the router?
PS: tput is from ncurses and all devices seem to have different versions:
- router: ncurses 6.2.20200212
- Pi: ncurses 6.1.20181013
- Mac: ncurses 5.7.20081102