I am booting my pi as text with autologin.
Even after modifying the bashrc
file in the /home/pi folder, I still see the text in white. I know that the color is enabled, because during the boot, I see the OK in green, so the terminal seems enabled for color, but nothing show up when I run ls -la
or other commands.
What am I missing? I did enable force_color_prompt=yes
in bashrc
; and uncommented the lines where the aliases include the --color=auto
l but still nothing happen.
EDIT
Close this, dear “admins”; it is clear that you can’t even read a question right.
Also please downvote more this question; after all your mental age is not higher than 10; so feel free to act like frustrated teens on a forum, and hide in real life 🙂
put on hold as off-topic by Milliways, goldilocks♦ 7 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- “This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center.” – goldilocks
If this question can be reworded to fit the rules in the help center, please edit the question.
The terminal emulation also plays a role with colors on the text console. I just don’t know how it is set by default because I set it always to linux. You can get your setting with:
rpi ~$ echo $TERM
Try to set it in ~/.profile as first command:
TERM=linux
then logout/logon and look if it helps.
-
-
Hi @Jasen, you tried to add ´export TERM` to the answer. Sorry, but I haven’t accepted it because it is not needed.
~/.profile
is a login file similar to~/.bashrc
. It is sourced to the calling bash so there is no need to export environment variables when set in~/.profile
. – Ingo 3 hours ago -
sorry to drag you in this childfest; I tried to delete this question but it won’t allow me because you posted on it. You have been the only one that was kind enough to help, thanks for your time. – rataplan 44 mins ago
Not the answer you’re looking for? Browse other questions tagged bash or ask your own question.
Categories: Uncategorized
echo $TERM
get you? – Jasen 16 hours agobashrc
so I am not sure what is missing there. Just as example, on OSX I can see colors no problem when I open terminal, after enablingexport CLICOLOR=1
and settingLSCOLORS
but on Raspbian I can’t get the same (I assume because Raspbian is pure console terminal while OSX terminal run inside OSX GUI?) – rataplan 8 hours ago