aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-02 13:53:56 +0800
committerAaron LI <aly@aaronly.me>2018-02-02 13:53:56 +0800
commit0b57b13fcbe55d1b8d454092b4745be1981a8ddb (patch)
tree0e0358511b14965d5fefe07e03bd1e36007b05f5
parentf61f98d37d7dc6ba0b07bce50a5231e45f5637d6 (diff)
downloaddotfiles-0b57b13fcbe55d1b8d454092b4745be1981a8ddb.tar.bz2
zsh: disable terminal start/stop flow control
-rw-r--r--_zsh/50-term.zsh13
1 files changed, 13 insertions, 0 deletions
diff --git a/_zsh/50-term.zsh b/_zsh/50-term.zsh
new file mode 100644
index 0000000..7b60159
--- /dev/null
+++ b/_zsh/50-term.zsh
@@ -0,0 +1,13 @@
+#
+# zsh/term.zsh
+#
+# 2018-02-02
+#
+
+# Disable sending of start (Ctrl-Q) and stop (Ctrl-S) characters
+stty -ixoff
+
+# Disable XON/XOFF flow control
+stty -ixon
+
+# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #