Added a check for interactivity before shell completion initialization
Using .zshrc instead of .profile for zsh users