Commit graph

45 commits

Author SHA1 Message Date
Michael Aquilina
67df6534c0
Bump version to 0.7.0 2019-08-26 12:28:13 +01:00
Michael Aquilina
cbd4e2bcac
Remove sudo prefix from command if detected 2019-08-26 12:25:43 +01:00
Michael Aquilina
a77777987d
Add support for specifying a WHITELIST 2019-08-24 21:36:35 +01:00
Michael Aquilina
0b7a039689
Bump version to 0.6.0 2019-08-17 16:50:58 +01:00
Michael Aquilina
5c39901fc7
Print warning if notify-send is a missing dependency 2019-08-17 16:46:36 +01:00
Michael Aquilina
c029e8e4c1
Bump to version 0.5.1 2019-08-01 13:40:03 +01:00
Dmytro Meleshko
4a9e4b8e03 Improve notifications on macOS 2019-08-01 11:25:31 +03:00
Michael Aquilina
2292476f93
Fix minor bug in _is_auto_notify_ignored 2019-07-31 15:53:33 +01:00
Michael Aquilina
7721d45abe
Bump version to 0.5.0 2019-07-31 13:37:47 +01:00
Michael Aquilina
aed7176e73
Add support for custom message formats 2019-07-31 13:37:42 +01:00
Michael Aquilina
9596b87899
Bump version to 0.4.0 2019-07-21 21:56:02 +01:00
Michael Aquilina
cac8315195
Improvements to notification formatting and options 2019-07-21 21:50:45 +01:00
Michael Aquilina
7b6d59479a
Rename main test file to test_plugin.zunit 2019-07-20 21:34:17 +01:00
Michael Aquilina
5c2ad8bd7a
Bump version to 0.3.0 2019-07-18 10:33:46 +01:00
Lars Vierbergen
a9f9d22034 In some zsh setups, when history is disabled, $1 is always empty.
When history is disabled, $1 is always empty, but the command is present in $2 and $3.
To get at least some functionality, although commands without aliases expanded are not available now, use $2 when $1 is empty.
2019-07-18 07:07:56 +02:00
Michael Aquilina
bd9fb1c60c
Bump version to 0.2.0 2019-07-17 21:41:38 +01:00
Michael Aquilina
890236ced9
Rename reset_tracking and move function 2019-07-17 21:39:08 +01:00
Michael Aquilina
bf73292fd0
Improve tracking code and add more tests 2019-07-17 21:36:30 +01:00
Michael Aquilina
dd81b6c8f7
Merge pull request #9 from vierbergenlars/clear-after-end
Clear AUTO_COMMAND in the precmd hook
2019-07-17 21:17:20 +01:00
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
8ec1400032
Handle piped commands 2019-07-17 17:08:26 +01:00
Michael Aquilina
51656c43c7
text should also be local 2019-07-17 16:21:15 +01:00
Michael Aquilina
3da571b84d
Set platform variable to local 2019-07-17 16:18:33 +01:00
Michael Aquilina
f70c3a654e
Simplify Mac OSX quote workaround 2019-07-17 16:17:03 +01:00
Toshiki Murayama
22998c6f4a
Escape backslash in notification message for macOS 2019-07-17 10:30:40 +09:00
Michael Aquilina
384a2eed6f
Add nano to AUTO_NOTIFY_IGNORE 2019-07-16 14:13:50 +01:00
Michael Aquilina
c974c9c5d8
Update AUTO_NOTIFY_IGNORE to include ssh 2019-07-16 14:12:34 +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
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
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
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
a0316d35b0
Add basic tests 2019-07-14 11:14:24 +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