Sometimes, when I execute a long command on my computer, I suffix it with
&& notify-send "It's finally done!". Is there any way I could do this from an ssh session? I'm aware I could do a one line ssh, e.g.
ssh remotehost "long-term-command" && notify-send "It's finally done!, but I'd rather not as I'm executing many long-term commands and this seems clunky and inefficient.
If I wanted to notify-send on the remote system, I'd set
:0. Is there something similar I could do for the opposite?