diff --git a/README.rst b/README.rst index d37b48d..e4ec9ff 100644 --- a/README.rst +++ b/README.rst @@ -99,13 +99,14 @@ You can change the formatting of notifications by setting the values for ``AUTO_ ``AUTO_NOTIFY_BODY``. When writing these values, the following variables will be replaced according to the data that ``auto-notify`` has detected: -* `%command` - the command that the user executed -* `%elapsed` - number of seconds that elapsed -* `%exit_code` - the exit code of the command that was executed +* ``%command`` - the command that the user executed +* ``%elapsed`` - number of seconds that elapsed +* ``%exit_code`` - the exit code of the command that was executed An example of how these values can be set is shown below: :: + export AUTO_NOTIFY_TITLE="Hey! %command has just finished" export AUTO_NOTIFY_BODY="It completed in %elapsed seconds with exit code %exit_code"