View previous topic :: View next topic |
Author |
Message |
orzetto Apprentice
Joined: 05 Mar 2003 Posts: 165 Location: Magdeburg, Germany
|
Posted: Tue Jun 24, 2003 12:59 pm Post subject: Bash prompt: out with the dollar, use Euros! |
|
|
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...
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 |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Tue Jun 24, 2003 6:27 pm Post subject: |
|
|
lol |
|
Back to top |
|
|
Konsti l33t
Joined: 10 Dec 2002 Posts: 691
|
Posted: Tue Jun 24, 2003 7:44 pm Post subject: Re: Bash prompt: out with the dollar, use Euros! |
|
|
orzetto wrote: | I guess this post qualifies for the "most insane localisation" prize, if there is any...
|
*ROFL* If even my aterm could display an ? Only xterm is able to, but this has other bugs...
Konsti, still |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Tue Jun 24, 2003 9:10 pm Post subject: |
|
|
You missguided godless .. ehhm .. terrorist. How could you...
Carlo |
|
Back to top |
|
|
|