In zsh, running the command
read -p 'erasing all directories (y/n) ?' ans, throws the error,
read: -p: no coprocess
But in bash, it prints a prompt. How do I do this in zsh?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community