I've seen on a few screencasts a while back where someone had a lightning bolt instead of $ on the bash prompt.
Does anyone know how to do this?
|
I've seen on a few screencasts a while back where someone had a lightning bolt instead of Does anyone know how to do this? | ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
This page explains how to set your bash promt. As @ulidtko says, you can use
You will, however, lose everything else in the prompt you had before (not just the $). What you had before depends on your distribution. On my Ubuntu 10.10 setup it's
To make this change across all bash shells, add the above line to your The result is like this:
| |||
|
feedback
|
|
There are a few lightning-bolt-like symbols in Unicode, among them is U+2607 LIGHTNING ( | |||
|
feedback
|
|
Ignacio's answer is right, but here is another symbol, which in my font looks better: | |||
|
feedback
|