Skip to content

Instantly share code, notes, and snippets.

View prasannavl's full-sized avatar

Prasanna Loganathar prasannavl

View GitHub Profile
@prasannavl
prasannavl / .bash_profile
Created September 9, 2023 14:51 — forked from dylon/.bash_profile
How to get 256 colors in a standard Linux terminal + screen (without X windows).
# ...
# This is for what I would consider a standard setup, where TTY's 1 -- 6 are
# "linux" terminals and TTY's 7+ are reserved for X windows. You should adjust
# it to your setup, accordingly.
#
# ::: Important ::: You must have both fbterm and screen installed and on your
# path for this to work.
virtual_terminal="$( tty | grep -oE ....$ )"