diff options
| -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  | 
