Lars Vierbergen
64855fba1c
Clear AUTO_COMMAND in the precmd hook.
...
precmd is always triggered before a new prompt is returned, but preexec is only called before an actual command is executed.
This means that using builtins (or using ^C or enter) on an empty commandline will result in a new notification for the previous command that has already completed before.
2019-07-17 22:12:03 +02:00
Michael Aquilina
0985a33107
Create markup for code
2019-07-15 22:31:57 +01:00
Michael Aquilina
fa61724db3
Fix README bullet points
2019-07-15 22:31:26 +01:00
Michael Aquilina
07f96c432a
Correct test sample output in README
2019-07-15 22:13:10 +01:00
Michael Aquilina
32edbb5ab1
Fix README code
2019-07-15 21:21:08 +01:00
Michael Aquilina
a48caabe5d
Add configuration details to the README
2019-07-15 21:18:18 +01:00
Michael Aquilina
fe64dafa09
Move image to correct location
2019-07-15 21:09:23 +01:00
Michael Aquilina
51ac1b13d9
Add notification example screenshot
2019-07-15 21:08:22 +01:00
Michael Aquilina
6e27803941
Add git and ncurses-bin dependency
2019-07-15 21:02:44 +01:00
Michael Aquilina
354d852d72
Add test to check version export
2019-07-15 20:54:48 +01:00
Michael Aquilina
9b85e45eec
Add top and htop to list of ignored commands
2019-07-15 17:29:41 +01:00
Michael Aquilina
9178a03d16
Remove extra autoload
2019-07-15 17:09:04 +01:00
Michael Aquilina
b46cc8a368
Further increase threshold to 10 seconds
2019-07-15 17:07:33 +01:00
Michael Aquilina
41117d1b45
Add test for MacOSX notifications
2019-07-15 17:04:56 +01:00
Michael Aquilina
241f33ba26
Add note about supported desktop environments
2019-07-15 14:51:25 +01:00
Michael Aquilina
38448ea40d
Add missing } at the end of test
2019-07-15 14:49:18 +01:00
Michael Aquilina
64a938bbb5
Fix test title
2019-07-15 14:12:08 +01:00
Michael Aquilina
af202a809c
Add test for unknown platforms
2019-07-15 13:56:04 +01:00
Michael Aquilina
dcd2c609bb
Add missing newline in _auto_notify_message warning
2019-07-15 12:11:07 +01:00
Michael Aquilina
9dc90567e3
Format + add tests
2019-07-15 12:05:13 +01:00
Michael Aquilina
46bae9c02a
Export configurable variables and add watch to ignore list
2019-07-15 11:51:06 +01:00
Michael Aquilina
2bfb93573b
Fix uname during tests
2019-07-15 10:43:51 +01:00
Michael Aquilina
d40a07369f
Add warning for unsupported platforms
2019-07-15 10:41:48 +01:00
Michael Aquilina
bcef7c3cb3
Fix MacOSX notifications
2019-07-15 10:29:11 +01:00
Michael Aquilina
eecf71b040
Add support for MacOSX
2019-07-15 10:08:15 +01:00
Michael Aquilina
4d15a4cd21
Add tig to list of ignore commands
2019-07-14 18:56:14 +01:00
Michael Aquilina
acbea30255
Correct AUTO_COMMAND_FULL setting
2019-07-14 18:47:18 +01:00
Michael Aquilina
070eea8265
Check commands to ignore after alias expansion
2019-07-14 18:22:46 +01:00
Michael Aquilina
fc92fa6951
fixes to README
2019-07-14 12:19:22 +01:00
Michael Aquilina
bd83266ccf
Add enable/disable functionality
2019-07-14 12:18:56 +01:00
Michael Aquilina
73b47b1383
Add tests for _auto_notify_send
2019-07-14 11:47:33 +01:00
Michael Aquilina
74429d84aa
Add circleci configuration
2019-07-14 11:15:17 +01:00
Michael Aquilina
a0316d35b0
Add basic tests
2019-07-14 11:14:24 +01:00
Michael Aquilina
7dd4f3066c
Add basic README.rst
2019-07-14 11:08:50 +01:00
Michael Aquilina
75902c1179
Increase threshold to 5 seconds
2019-07-13 20:07:42 +01:00
Michael Aquilina
32b5de812f
Initial working version
2019-07-13 20:05:15 +01:00