1
notify-send --urgency=low -i ${(%):-%(?.terminal.error)} ${history[$HISTCMD]%[;&|][[:space:]]##alert}