View Single Post
  #6   (View Single Post)  
Old 31st March 2009
Loki Loki is offline
Port Guard
 
Join Date: Nov 2008
Location: Sydney
Posts: 11
Wink

Quote:
Originally Posted by bsdnewbie999 View Post
How do i enable this line for user? i added this line to .profile but it only works for root why not normal users? In normal user prompts it shows \e[0;36m[\h:\w]\n\$ \e[m instead of the colour one.
export PS1='\e[0;36m[\h:\w]\n\$ \e[m'
What does:
echo $TERM
give you as a non-root user?

If it isn't VT220 or similar it cannot interpret the DEC colour commands.
Reply With Quote