From ce7741c9a871a8549ed857901f17f540c07657da Mon Sep 17 00:00:00 2001 From: Pierre GRASSER Date: Sun, 26 Mar 2023 20:28:13 +0200 Subject: [PATCH] bootstrap-utils.sh: make grep silent Prevents a print of "no-rc". --- shell-integration/ssh/bootstrap-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/ssh/bootstrap-utils.sh b/shell-integration/ssh/bootstrap-utils.sh index be5ced53b..68083c865 100644 --- a/shell-integration/ssh/bootstrap-utils.sh +++ b/shell-integration/ssh/bootstrap-utils.sh @@ -226,7 +226,7 @@ exec_login_shell() { ;; (*) # not blank - printf "%s" "$KITTY_SHELL_INTEGRATION" | command grep '\bno-rc\b' || exec_with_shell_integration + printf "%s" "$KITTY_SHELL_INTEGRATION" | command grep -q '\bno-rc\b' || exec_with_shell_integration # either no-rc or exec failed unset KITTY_SHELL_INTEGRATION ;;