From 0f9d8847278c0c031d34b4ede3090642cbc18385 Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 20 Aug 2016 08:57:12 -0700 Subject: quit on empty str --- .zprofile-dtach | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zprofile-dtach b/.zprofile-dtach index 6f57ef7..0708330 100644 --- a/.zprofile-dtach +++ b/.zprofile-dtach @@ -24,6 +24,10 @@ if [[ -z "${DTACH_SUB}" ]]; then echo -n "> " read -A args case "${args[1]}" in + "") + break; + ;; + q) break; ;; -- cgit v1.2.3