Start documenting bash prompt.

Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
2022-11-16 15:13:01 +13:00
parent 233ef24a07
commit 14b1e6b76f
2 changed files with 9 additions and 0 deletions

BIN
images/powerline-prompt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

View File

@ -246,6 +246,15 @@ export EMACSLOADPATH=/home/$USER/Downloads/humacs
#+END_SRC #+END_SRC
** Optional - Setup sbp powerline prompt
Having an informative bash prompt can ease cognitive burden and make development more pleasant. Below is an example of my terminal prompt which is based on [[https://github.com/powerline/fonts/][powerline fonts]] for symbols and [[https://github.com/brujoand/sbp][simple bash prompt]] for the overall presentation.
As you can see in the screenshot, contextual "segments" are presented in the prompt to provide information like directory, current user and detailed git status.
[[./images/powerline-prompt.png]]
** Optional - Setup mutt mail client ** Optional - Setup mutt mail client
For reading email we ideally use a cli based client for fast searching and lightweight mail reading. For reading email we ideally use a cli based client for fast searching and lightweight mail reading.