[FIX][ZSH] Do not read zshrc when not interactive
This commit is contained in:
parent
0d78351c18
commit
71d16e9fa4
|
@ -1,3 +1,6 @@
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
# Export our directory to Termite for opening new terminals
|
# Export our directory to Termite for opening new terminals
|
||||||
if { [[ "$TERM" =~ xterm.* ]]; }; then
|
if { [[ "$TERM" =~ xterm.* ]]; }; then
|
||||||
source ~/.scripts/term-title
|
source ~/.scripts/term-title
|
||||||
|
|
Loading…
Reference in a new issue