From 2db3e49f0f47819061234e2693f4d64d2caf8bfd Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Tue, 22 Mar 2022 08:48:06 +0100 Subject: Hide grep output --- .bash/exec.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash/exec.bash b/.bash/exec.bash index ffbeaae..962f77a 100644 --- a/.bash/exec.bash +++ b/.bash/exec.bash @@ -7,7 +7,7 @@ set bell-style visible # start ssh agent. this script will not try to run a new instance # (unless we specified -f, which we don't). -if echo "${SSHAGH[@]}" | fgrep --word-regexp "$(hostname -f)";then +if echo "${SSHAGH[@]}" | fgrep --word-regexp "$(hostname -f)" > /dev/null;then "$HOME/bin/ssh-agent-launcher" -q fi -- cgit v1.2.3