diff options
Diffstat (limited to 'etc/functions/confirm_yes')
-rw-r--r-- | etc/functions/confirm_yes | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/etc/functions/confirm_yes b/etc/functions/confirm_yes deleted file mode 100644 index 7389d1d..0000000 --- a/etc/functions/confirm_yes +++ /dev/null @@ -1,9 +0,0 @@ -## vim:ft=zsh -echo -n "$* [Y/n] " -read -k 1 -[[ $REPLY != $'\n' ]] && echo -if [[ $REPLY == 'y' || $REPLY == 'Y' || $REPLY == $'\n' ]] { - true -} else { - false -} |