From 9bf178bf1575b6c64740851cb0f6b2c0c87761b7 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 4 Oct 2024 10:35:28 +0200 Subject: checkpoint --- config/essentials/shell/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 319a04f..1a2e9d8 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -391,7 +391,8 @@ ssh() { for arg in $@; do if grep "Host $arg\s*\$" ~/.ssh/config > /dev/null 2>&1 ; then - keyadd "$arg" 2> /dev/null + # Disable notification by unsetting the DISPLAY varibles + DISPLAY= keyadd "$arg" 2> /dev/null break fi done -- cgit v1.2.3