diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-04 10:35:28 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-04 10:35:28 +0200 |
commit | 9bf178bf1575b6c64740851cb0f6b2c0c87761b7 (patch) | |
tree | 80c70ff8062f877376c9898250c306121105b6cf | |
parent | 9cdea34cffe7d6f5be739c3997603446e774a74d (diff) |
checkpoint
-rw-r--r-- | config/essentials/shell/functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |