summaryrefslogtreecommitdiff
path: root/etc/functions/confirm_no
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/confirm_no')
-rw-r--r--etc/functions/confirm_no3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/functions/confirm_no b/etc/functions/confirm_no
new file mode 100644
index 0000000..c69b4c6
--- /dev/null
+++ b/etc/functions/confirm_no
@@ -0,0 +1,3 @@
+## vim:ft=zsh
+echo -n "$* [y/N] "
+read -q