From 777271fd412607bd2b50121dff8cbb3888973735 Mon Sep 17 00:00:00 2001 From: eeemsi Date: Fri, 13 Jan 2023 17:27:17 +0100 Subject: [PATCH] fix (zshrc): skip customization for non-interactive shells --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 9260b24..9bc4485 100644 --- a/zshrc +++ b/zshrc @@ -1,3 +1,8 @@ +# skip customization for non-interactive shells +if [[ ! -o interactive ]]; then + return +fi + # completion system autoload -U compinit; compinit