From 2a583cb858178f9216abe0a2c4309cde33b7569c Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Wed, 30 Jun 2021 16:38:17 +0200 Subject: [PATCH] Silence netcat Signed-off-by: Magic_RB --- nix/home-manager/modules/bash/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/home-manager/modules/bash/bashrc b/nix/home-manager/modules/bash/bashrc index 46474d0..9db7c46 100644 --- a/nix/home-manager/modules/bash/bashrc +++ b/nix/home-manager/modules/bash/bashrc @@ -27,7 +27,7 @@ fi emacsclient() { if [[ -e "$HOME/.ssh/emacs-server" ]] && \ - nc -Uz "$HOME/.ssh/emacs-server" && \ + nc -Uz "$HOME/.ssh/emacs-server" >/dev/null 2>&1 && \ [[ ! -z ${INSIDE_EMACS+x} ]] ; then params=() sudo=0