diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-08 18:47:25 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-08 18:47:25 +0200 |
commit | da82a60fdbee638601875fbbc4ba8260ed1bf267 (patch) | |
tree | c11368a72bd9a888efe51e83ff32ed659ac9b96e /etc/functions/confirm_yes | |
parent | 99a52ce7a6b7270455c0878e9f368373248a277c (diff) |
Cleanup
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 -} |