From e88ddfe603c471a92c1086c047d1bbf81c42d76e Mon Sep 17 00:00:00 2001 From: "Charles A. Daniels" Date: Sun, 5 Feb 2023 13:40:40 -0500 Subject: [PATCH] disable alacritty fix when running under SSH --- modules/shell-configs/overlay/.bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/shell-configs/overlay/.bashrc b/modules/shell-configs/overlay/.bashrc index 72a200e..450fb71 100644 --- a/modules/shell-configs/overlay/.bashrc +++ b/modules/shell-configs/overlay/.bashrc @@ -18,4 +18,7 @@ fi # Stop alacritty from bouncing on macOS # see: https://github.com/alacritty/alacritty/issues/2950#issuecomment-706610878 -printf "\e[?1042l" +if [ -z "$SSH_CLIENT" ] ; then + # This has to be disabled during SSH because otherwise it breaks rsync. + printf "\e[?1042l" +fi -- 2.38.5