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