In Bash, how to add “Are you sure [Y/n]” to any command or alias? In this particular case, I’d like to add a confirm in Bash for Are you sure? [Y/n] for Mercurial’s hg push ssh://username@www.example.com//somepath/morepath, which is actually an alias. Is there... May 20, 2022 0 Comments