Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash prompt: out with the dollar, use Euros!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
orzetto
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 165
Location: Magdeburg, Germany

PostPosted: Tue Jun 24, 2003 12:59 pm    Post subject: Bash prompt: out with the dollar, use Euros! Reply with quote

I found out that if you execute or add to your .bashrc the following line, you actually substitute the dollar symbol with the euro.

Code:
export PS1="\e[32;1m\u@\h \e[34;1m\W €\e[0m "


Noobish discovery, you would say... but I enjoy having the bash prompt with my currency (maybe I'll shift to norwegian crowns, but there is no special symbol...). Of course you can simply change to £ or ¥...

I guess this post qualifies for the "most insane localisation" prize, if there is any... :D

Bye
-Federico

PS- make sure you are using either ISO-8859-15 or UTF-8, otherwise you will likely get the generic currency symbol ¤.
_________________
Why is everybody always generalising?
Back to top
View user's profile Send private message
grzewho
l33t
l33t


Joined: 31 Dec 2002
Posts: 626
Location: /home/g

PostPosted: Tue Jun 24, 2003 6:27 pm    Post subject: Reply with quote

lol :lol:
Back to top
View user's profile Send private message
Konsti
l33t
l33t


Joined: 10 Dec 2002
Posts: 691

PostPosted: Tue Jun 24, 2003 7:44 pm    Post subject: Re: Bash prompt: out with the dollar, use Euros! Reply with quote

orzetto wrote:
I guess this post qualifies for the "most insane localisation" prize, if there is any... :D


*ROFL* If even my aterm could display an ? :-) Only xterm is able to, but this has other bugs...

Konsti, still :lol:
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Tue Jun 24, 2003 9:10 pm    Post subject: Reply with quote

8O You missguided godless .. ehhm .. terrorist. How could you... :lol: :lol:


Carlo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum