diff options
| author | David LJ <mail@davidlj95.com> | 2024-06-04 15:55:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 15:55:08 +0200 |
| commit | e53edd712f28170a0843ce1d2a61efe335484ad4 (patch) | |
| tree | 6d3b07189d8bfb36ce76d1573e1036935a12bb2a /plugins/bgnotify/bgnotify.plugin.zsh | |
| parent | 228d44d55d812725c3c0c26655b28c72eddb4ba6 (diff) | |
| download | zsh-e53edd712f28170a0843ce1d2a61efe335484ad4.tar.gz zsh-e53edd712f28170a0843ce1d2a61efe335484ad4.tar.bz2 zsh-e53edd712f28170a0843ce1d2a61efe335484ad4.zip | |
fix(bgnotify): use terminal-notifier args properly (#12467)
Diffstat (limited to 'plugins/bgnotify/bgnotify.plugin.zsh')
| -rw-r--r-- | plugins/bgnotify/bgnotify.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh index 0e3f2c640..7de6f9a91 100644 --- a/plugins/bgnotify/bgnotify.plugin.zsh +++ b/plugins/bgnotify/bgnotify.plugin.zsh @@ -117,7 +117,7 @@ function bgnotify { local icon="$3" if (( ${+commands[terminal-notifier]} )); then # macOS local term_id=$(bgnotify_programid) - terminal-notifier -message "$message" -title "$title" ${=icon:+-appIcon "$icon"} ${=term_id:+-activate "$term_id" -sender "$term_id"} &>/dev/null + terminal-notifier -message "$message" -title "$title" ${=icon:+-appIcon "$icon"} ${=term_id:+-activate "$term_id"} &>/dev/null elif (( ${+commands[growlnotify]} )); then # macOS growl growlnotify -m "$title" "$message" elif (( ${+commands[notify-send]} )); then |
