mirror of
https://github.com/philippdieter/zsh-auto-notify.git
synced 2025-10-13 12:08:21 +00:00
Add entry in README about AUTO_NOTIFY_EXPIRE_TIME
This commit is contained in:
parent
cac8315195
commit
831c0b0b00
12
README.rst
12
README.rst
@ -94,6 +94,18 @@ can configure this value by setting the environment variable ``AUTO_NOTIFY_THRES
|
|||||||
export AUTO_NOTIFY_THRESHOLD=20
|
export AUTO_NOTIFY_THRESHOLD=20
|
||||||
|
|
||||||
|
|
||||||
|
**Notification Expiration Time**
|
||||||
|
|
||||||
|
You can set how long a notification sent by ``auto-notify`` will remain showing by setting the environment
|
||||||
|
variable ``AUTO_NOTIFY_EXPIRE_TIME`` to a custom value in milliseconds. The default value is set to 8 seconds.
|
||||||
|
NOTE: This configuration option currently only works for Linux.
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
# Set notification expiry to 10 seconds
|
||||||
|
export AUTO_NOTIFY_EXPIRE_TIME=10000
|
||||||
|
|
||||||
|
|
||||||
**Ignored Commands**
|
**Ignored Commands**
|
||||||
|
|
||||||
A number of commands do not get notifications for long running times due to their nature (e.g. ``watch`` or ``man``).
|
A number of commands do not get notifications for long running times due to their nature (e.g. ``watch`` or ``man``).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user