From 71d16e9fa48daa421b1e7a45cf57364e0ada626a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 14 Oct 2020 16:36:08 +0200 Subject: [PATCH] [FIX][ZSH] Do not read zshrc when not interactive --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index d461034..91ca4c1 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,6 @@ +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + # Export our directory to Termite for opening new terminals if { [[ "$TERM" =~ xterm.* ]]; }; then source ~/.scripts/term-title