bootstrap-utils.sh: make grep silent
Prevents a print of "no-rc".
This commit is contained in:
parent
5ff1dadf0d
commit
ce7741c9a8
@ -226,7 +226,7 @@ exec_login_shell() {
|
|||||||
;;
|
;;
|
||||||
(*)
|
(*)
|
||||||
# not blank
|
# 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
|
# either no-rc or exec failed
|
||||||
unset KITTY_SHELL_INTEGRATION
|
unset KITTY_SHELL_INTEGRATION
|
||||||
;;
|
;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user