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 +