Updated README to use the "init" command

This commit is contained in:
Emmanuel BENOîT 2022-10-22 11:13:40 +02:00
parent f56bd85b9d
commit 28069bac2f

View file

@ -63,7 +63,7 @@ GPrompt may be installed either at the system level or on a per-user basis.
* Add the following line to your `~/.bashrc`: * Add the following line to your `~/.bashrc`:
export PROMPT_COMMAND='eval "$($HOME/.local/share/gprompt/gprompt.pl $?)"' eval "$($HOME/.local/share/gprompt/gprompt.pl init)"
### System-wide installation ### System-wide installation
@ -78,7 +78,7 @@ GPrompt may be installed either at the system level or on a per-user basis.
* 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`):
export PROMPT_COMMAND='eval "$(/usr/share/gprompt/gprompt.pl $?)"' eval "$(/usr/share/gprompt/gprompt.pl init)"
## Configuration ## Configuration