fix (zshrc): skip customization for non-interactive shells

This commit is contained in:
eeemsi 2023-01-13 17:27:17 +01:00
parent ce98f796c7
commit 777271fd41
1 changed files with 5 additions and 0 deletions

5
zshrc
View File

@ -1,3 +1,8 @@
# skip customization for non-interactive shells
if [[ ! -o interactive ]]; then
return
fi
# completion system
autoload -U compinit; compinit