From a8a4f1671afcd8d129bc816e5cea1b61445ac1fc Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Fri, 6 Jul 2018 13:29:34 -0700 Subject: [PATCH] Added -h handling to mintty_wrapper (MSYS/Win client) --- hkexsh/mintty_wrapper.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hkexsh/mintty_wrapper.sh b/hkexsh/mintty_wrapper.sh index 48ced78..cef7de8 100755 --- a/hkexsh/mintty_wrapper.sh +++ b/hkexsh/mintty_wrapper.sh @@ -27,6 +27,11 @@ trap cleanup EXIT ERR cleanup() { stty sane } - -stty -echo raw icrnl -./hkexsh $@ + +if [ ${1}x == "-hx" ]; then + ./hkexsh -h +else + stty -echo raw icrnl + ./hkexsh $@ +fi +