From 8a7f1d91ed81ad00c37ff08961a4b1c53be6b555 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Sun, 11 Aug 2024 12:30:03 -0500 Subject: add missing quiet grep --- common/profile.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/profile.org b/common/profile.org index 87bbbaa..b2106d6 100644 --- a/common/profile.org +++ b/common/profile.org @@ -8,7 +8,7 @@ export PATH="$HOME/.local/share/fzf-zsh-plugin/bin:$HOME/node_modules/.bin:$HOME * SSH Agent Run =ssh-agent= if =ssh-agent= is not already running on my Gentoo system. Ensure that the authorization socket is available in the shell. #+begin_src sh :tangle ~/.profile - if [ "$(uname)" = 'Linux' ] && grep 'ID=gentoo' /etc/os-release; then + if [ "$(uname)" = 'Linux' ] && grep -q 'ID=gentoo' /etc/os-release; then if [ ! -S ~/.ssh/ssh_auth_sock ]; then eval `ssh-agent` > /dev/null ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock -- cgit v1.2.3