I decided to customize my bash prompt. I initially started off with the following requirements:
After some work I came up with the prompt shown above. I am excited to keep using it and customizing it, I am also happy that I decided to use unicode in the prompt. I have been avoiding unicode in general, but Rust has convinced me that I should try to accept unicode into my life more readily!
After going through the process, here are sometake aways:
printfsupports unicode more reliably than echo. I had some trouble getting echo to do what I want to do
I hope you enjoy! Below is the code for my prompt! Put it into you
.bashrc file depending on your preference. If
you want to use it.
Here is a demonstration video: