commit 1ebb8450597e2000e7f50eabc1608821df76a1b2
parent af03c2323d74bd1c2d0e63ddf801e7af4c314aad
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Fri, 8 Jan 2021 19:32:40 +0000
Allow running ssh in the main context, keep ssh key confirmation of now.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/bin/handle-nsx11-message b/bin/handle-nsx11-message
@@ -192,6 +192,10 @@ case $data in
(x11!*)
x11-run "${data#*!}"
;;
+ (ssh!*)
+ local ssh_host="${data#*!}"
+ in_terminal ssh -t -- $ssh_host
+ ;;
(*)
nag -t warning -m "Powerbox got message: ${(qqq)plumb_data}"