]> gitweb.michael.orlitzky.com - shell.d.git/commitdiff
tty.sh: add stty -ixon hack for Ctrl-{S,Q}
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 25 Feb 2026 03:03:13 +0000 (22:03 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 25 Feb 2026 03:03:13 +0000 (22:03 -0500)
tty.sh

diff --git a/tty.sh b/tty.sh
index ea6e1c4c59095b90c0d2f35d82eac49e17af505a..1eef15a5664cbcbcb76f4220cccb19f28d5b3201 100644 (file)
--- a/tty.sh
+++ b/tty.sh
@@ -1,3 +1,6 @@
 # For some reason this is required for pinentry-tty to work over SSH,
 # particularly when signing git commits.
 export GPG_TTY=$(tty)
+
+# Prevent Ctrl-S and and Ctrl-Q from fucking up the terminal.
+stty -ixon