[FIX][ZSH] Do not read zshrc when not interactive

This commit is contained in:
Bruno BELANYI 2020-10-14 16:36:08 +02:00
parent 0d78351c18
commit 71d16e9fa4
1 changed files with 3 additions and 0 deletions

View File

@ -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