MichaelAquilina / zsh-auto-notify

⏰ ZSH plugin that automatically sends out a notification when a long running task has completed.
GNU General Public License v3.0
404 stars 41 forks source link

(linux) notify-send Invalid number of options. #62

Open bdeshi opened 2 months ago

bdeshi commented 2 months ago

Issue Details

i was getting an error from notify-send:

> sleep 11
Invalid number of options.

i had change auto-notify.plugin.zsh#L68 to:

notify-send "${arguments[@]}"

could this be related to some zsh option?


Operating System (uname -a)

Linux hostname 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 x86_64 GNU/Linux

zsh version (zsh --version)

zsh 5.9 (x86_64-pc-linux-gnu)

auto-notify version (echo "$AUTO_NOTIFY_VERSION")

0.10.2

How is auto-notify installed?

ZSH options

$ setopt
alwaystoend
autocd
autopushd
nobgnice
noclobber
completeinword
correct
extendedglob
noflowcontrol
globdots
histexpiredupsfirst
histignoredups
histignorespace
histverify
incappendhistory
interactive
interactivecomments
longlistjobs
monitor
nonomatch
promptsubst
pushdignoredups
pushdsilent
rematchpcre
sharehistory
shinstdin
shwordsplit
zle