Fixing README.md

My markdown skills are non-existant, at best.
This commit is contained in:
Emmanuel BENOîT 2020-10-21 16:42:23 +02:00
parent cff7fa2fa4
commit 89309169f3

View file

@ -15,6 +15,10 @@ may be configured to display information from one of the generators. In
addition, the script may be configured to generate a terminal title and/or addition, the script may be configured to generate a terminal title and/or
terminal icon title. terminal icon title.
### Session example
![Session example](screenshots/session.png)
### Themes ### Themes
#### Unthemed (but using custom layout): #### Unthemed (but using custom layout):
@ -33,12 +37,16 @@ terminal icon title.
![`blocks_gyr` theme](screenshots/theme-blocks_gyr.png) ![`blocks_gyr` theme](screenshots/theme-blocks_gyr.png)
#### `powerline_yb` theme #### `powerline_yb` theme
This theme requires a Powerline font.
![`powerline_yb` theme](screenshots/theme-powerline_yb.png) ![`powerline_yb` theme](screenshots/theme-powerline_yb.png)
(requires a Powerline font)
#### `powerline_gyr` theme #### `powerline_gyr` theme
This theme requires a Powerline font.
![`powerline_gyr` theme](screenshots/theme-powerline_gyr.png) ![`powerline_gyr` theme](screenshots/theme-powerline_gyr.png)
(requires a Powerline font)
## Installing GPrompt ## Installing GPrompt
@ -48,10 +56,10 @@ GPrompt may be installed either at the system level or on a per-user basis.
* Copy the script and associated themes to your home directory. * Copy the script and associated themes to your home directory.
mkdir -p ~/.local/share/gprompt/themes mkdir -p ~/.local/share/gprompt/themes
cp gprompt.pl ~/.local/share/gprompt cp gprompt.pl ~/.local/share/gprompt
chmod +x ~/.local/share/gprompt/gprompt.pl chmod +x ~/.local/share/gprompt/gprompt.pl
cp themes/* ~/.local/share/gprompt/themes/ cp themes/* ~/.local/share/gprompt/themes/
* Add the following line to your `~/.bashrc`: * Add the following line to your `~/.bashrc`:
@ -62,10 +70,10 @@ GPrompt may be installed either at the system level or on a per-user basis.
* In the case of a system-wide installation, the script and associated themes * In the case of a system-wide installation, the script and associated themes
must be copied to some shared location, e.g. must be copied to some shared location, e.g.
mkdir -p /usr/share/gprompt/themes mkdir -p /usr/share/gprompt/themes
cp gprompt.pl /usr/share/gprompt cp gprompt.pl /usr/share/gprompt
chmod +x /usr/share/gprompt/gprompt.pl chmod +x /usr/share/gprompt/gprompt.pl
cp themes/* /usr/share/gprompt/themes/ cp themes/* /usr/share/gprompt/themes/
* Users may then use GPrompt by adding the following line to their `~/.bashrc` * Users may then use GPrompt by adding the following line to their `~/.bashrc`
files (it could also be added to `/etc/skel/.bashrc` or `/etc/bash.bashrc`): files (it could also be added to `/etc/skel/.bashrc` or `/etc/bash.bashrc`):