For (1):
I guess adding just "linux" is not enough.
E.g. screen sets TERM to "screen.linux", when run on the kernel
console; and maybe tmux does something similar?
Not sure though, whether it's good to simply add "*linux"
Oh and maybe it's better to test for more colours, e.g.
"${colour_support}" -gt 8
than just 2.
Package: bash
Version: 5.1-3
Severity: wishlist
Hey.
/etc/skel/.bashrc uses:
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
to detect whether the terminal supports a colourised prompt or not.
1) Could you please add "linux" to the list. That seems to be what the
kernel
3 matches
Mail list logo