Running the command {exec -c ls } will exit the terminal in zsh but in bash it will  show the result and then exit. Is there any explanation regarding to this.