Commit graph

96 commits

Author SHA1 Message Date
mikob
e7253df7ad check if window is not the same as the one where the command started executing on expiration to show notifications in a smarter way 2020-10-27 16:29:55 -06:00
Michael Aquilina
fb38802d33
Merge pull request #25 from MichaelAquilina/develop
Release 0.8.0
2019-09-06 10:00:50 +01:00
Michael Aquilina
f8cd00f2b6
Bump version to 0.8.0 2019-09-06 09:58:23 +01:00
Michael Aquilina
47a0b1727f
Merge pull request #23 from Avi-D-coder/app-name
Notify app-name=zsh
2019-09-06 09:57:07 +01:00
Avi Dessauer
68fed1af8b Notify app-name=zsh 2019-09-05 18:27:38 -04:00
Michael Aquilina
8ab1d0d8d2
Merge pull request #22 from MichaelAquilina/next
Release 0.7.0
2019-08-26 14:29:51 +03:00
Michael Aquilina
67df6534c0
Bump version to 0.7.0 2019-08-26 12:28:13 +01:00
Michael Aquilina
2b46020293
Merge pull request #21 from MichaelAquilina/AUTO_NOTIFY_WHITELIST
Add support for specifying a WHITELIST
2019-08-26 14:27:01 +03: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
8aa4c42932
Merge pull request #19 from MichaelAquilina/next
Release 0.6.0
2019-08-17 18:54:14 +03:00
Michael Aquilina
0b7a039689
Bump version to 0.6.0 2019-08-17 16:50:58 +01:00
Michael Aquilina
7f7027034c
Merge pull request #18 from MichaelAquilina/print_warning_missing_dep
Print warning if notify-send is a missing dependency
2019-08-17 18:49:47 +03:00
Michael Aquilina
5c39901fc7
Print warning if notify-send is a missing dependency 2019-08-17 16:46:36 +01:00
Michael Aquilina
4668a7fbd4
Merge pull request #17 from MichaelAquilina/next
Release 0.5.1
2019-08-01 13:41:22 +01:00
Michael Aquilina
c029e8e4c1
Bump to version 0.5.1 2019-08-01 13:40:03 +01:00
Michael Aquilina
83b7646472
Merge pull request #16 from dmitmel/master
Improve notifications on macOS
2019-08-01 13:38:53 +01:00
Dmytro Meleshko
bada173f10 Change MacOSX to macOS 2019-08-01 11:40:17 +03:00
Dmytro Meleshko
73da2d107e Fix tests 2019-08-01 11:39:33 +03: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
bad7321d4a
Merge pull request #15 from MichaelAquilina/next
Release 0.5.0
2019-07-31 13:41:40 +01:00
Michael Aquilina
d039eea61b
Fix to README for notification formatting 2019-07-31 13:40:37 +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
eaf5936f1e
Merge pull request #14 from MichaelAquilina/next
Release 0.4.0
2019-07-21 22:00:45 +01:00
Michael Aquilina
87d1e9bd0c
Test configurable expiry time 2019-07-21 21:59:14 +01:00
Michael Aquilina
9596b87899
Bump version to 0.4.0 2019-07-21 21:56:02 +01:00
Michael Aquilina
831c0b0b00
Add entry in README about AUTO_NOTIFY_EXPIRE_TIME 2019-07-21 21:53:43 +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
e25849a979
Move auto_notify_send tests to their own file 2019-07-20 19:17:30 +01:00
Michael Aquilina
61a838cbcc
Remove note about git backup during tests as it does not apply 2019-07-19 13:36:16 +01:00
Michael Aquilina
1eb37d2a99
Add ISSUE_TEMPLATE 2019-07-18 10:38:10 +01:00
Michael Aquilina
8b0ae499a7
Merge pull request #12 from MichaelAquilina/next
Release 0.3.0
2019-07-18 10:35:00 +01:00
Michael Aquilina
5c2ad8bd7a
Bump version to 0.3.0 2019-07-18 10:33:46 +01:00
Michael Aquilina
534028c21b
Merge pull request #10 from vierbergenlars/fix-zsh-debian
In some zsh setups, when history is disabled, $1 is always empty.
2019-07-18 10:32:39 +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
691c27d97a
Bold for configuration sub-sections 2019-07-17 22:01:39 +01:00
Michael Aquilina
a8dff148e5
update test with multiple pipes 2019-07-17 21:57:54 +01:00
Michael Aquilina
d6b002ee3b
Add test file for _is_auto_notify_ignored 2019-07-17 21:55:42 +01:00
Michael Aquilina
97bf608d4c
Add CHANGELOG 2019-07-17 21:43:01 +01: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
f480c50990
README improvements 2019-07-17 21:33:58 +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