Added a check for interactivity before shell completion initialization
Using .zshrc instead of .profile for zsh users
Merge pull request #526 from AltGr/master

Fixed shell integration with some setups (.profile loaded early, zsh...)