Added if-statement for 'read' function to check if runned with zsh.